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 636fe824b8633d38fbcb94621f380e3647f45053..ad192f82c5e608b9fe8d788460111414a1f6aa2b 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) {