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>
This commit is contained in:
Steve Hodgson 2008-09-01 12:49:29 +01:00 committed by Jeff Garzik
parent c8fcc49c54
commit 92ade881b2

View File

@ -1007,7 +1007,7 @@ static void falcon_handle_global_event(struct efx_channel *channel,
is_phy_event = true; is_phy_event = true;
if ((falcon_rev(efx) >= FALCON_REV_B0) && 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; is_phy_event = true;
if (is_phy_event) { if (is_phy_event) {