Skip to content

Commit

Permalink
sfc: Don't use EFX_OWORD_FIELD on an event (64-bit, quad-word)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Steve Hodgson authored and Jeff Garzik committed Sep 24, 2008
1 parent c8fcc49 commit 92ade88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/sfc/falcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 92ade88

Please sign in to comment.