summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorSteve Hodgson <shodgson@solarflare.com>2008-09-01 13:49:29 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-09-25 00:54:37 +0200
commit92ade881b2fcfc2744d3de43d172d3ec8e13afd7 (patch)
treea8c9fa8f3813424be0567ab6ec771dab32cfb6e6 /drivers/net/sfc
parentsfc: Serialise tenxpress_special_reset() with statistics fetches (diff)
downloadlinux-92ade881b2fcfc2744d3de43d172d3ec8e13afd7.tar.xz
linux-92ade881b2fcfc2744d3de43d172d3ec8e13afd7.zip
sfc: Don't use EFX_OWORD_FIELD on an event (64-bit, quad-word)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/falcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index 636fe824b863..ad192f82c5e6 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -1007,7 +1007,7 @@ static void falcon_handle_global_event(struct efx_channel *channel,
is_phy_event = true;
if ((falcon_rev(efx) >= FALCON_REV_B0) &&
- EFX_OWORD_FIELD(*event, XG_MNT_INTR_B0))
+ EFX_QWORD_FIELD(*event, XG_MNT_INTR_B0))
is_phy_event = true;
if (is_phy_event) {