Commit 92ade881 authored by Steve Hodgson's avatar Steve Hodgson Committed by Jeff Garzik

sfc: Don't use EFX_OWORD_FIELD on an event (64-bit, quad-word)

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent c8fcc49c
...@@ -1007,7 +1007,7 @@ static void falcon_handle_global_event(struct efx_channel *channel, ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment