sfc: Don't use EFX_OWORD_FIELD on an event (64-bit, quad-word)
authorSteve Hodgson <shodgson@solarflare.com>
Mon, 1 Sep 2008 11:49:29 +0000 (12:49 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 24 Sep 2008 22:54:37 +0000 (18:54 -0400)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/falcon.c

index 636fe82..ad192f8 100644 (file)
@@ -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) {