summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorSteve Hodgson <shodgson@solarflare.com>2008-09-01 11:49:29 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2008-09-24 22:54:37 (GMT)
commit92ade881b2fcfc2744d3de43d172d3ec8e13afd7 (patch)
treea8c9fa8f3813424be0567ab6ec771dab32cfb6e6 /drivers/net
parentc8fcc49c542a2312c706ebf76dcfe5266b39ee13 (diff)
downloadlinux-fsl-qoriq-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>
Diffstat (limited to 'drivers/net')
-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 636fe82..ad192f8 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) {