summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Hodgson <shodgson@solarflare.com>2008-09-01 15:49:29 +0400
committerJeff Garzik <jgarzik@redhat.com>2008-09-25 02:54:37 +0400
commit92ade881b2fcfc2744d3de43d172d3ec8e13afd7 (patch)
treea8c9fa8f3813424be0567ab6ec771dab32cfb6e6
parentc8fcc49c542a2312c706ebf76dcfe5266b39ee13 (diff)
downloadlinux-92ade881b2fcfc2744d3de43d172d3ec8e13afd7.tar.xz
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>
-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) {