diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-12-02 08:47:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-03 12:08:09 -0500 |
commit | cef68bde74f083d83c18ce870ed834e82ee0ae5a (patch) | |
tree | 430ee1d641b6d4f6c54c120fc500de6f9dbee797 /drivers/net/sfc/falcon.c | |
parent | 40641ed93cd53561f7d53b5fd5ed656b35f3aabd (diff) |
sfc: Move xmac_poll_required into struct falcon_nic_data
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/falcon.c')
-rw-r--r-- | drivers/net/sfc/falcon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c index fd5bf0b7e8a2..07f684ed2d9b 100644 --- a/drivers/net/sfc/falcon.c +++ b/drivers/net/sfc/falcon.c | |||
@@ -886,6 +886,7 @@ static bool | |||
886 | falcon_handle_global_event(struct efx_channel *channel, efx_qword_t *event) | 886 | falcon_handle_global_event(struct efx_channel *channel, efx_qword_t *event) |
887 | { | 887 | { |
888 | struct efx_nic *efx = channel->efx; | 888 | struct efx_nic *efx = channel->efx; |
889 | struct falcon_nic_data *nic_data = efx->nic_data; | ||
889 | 890 | ||
890 | if (EFX_QWORD_FIELD(*event, FSF_AB_GLB_EV_G_PHY0_INTR) || | 891 | if (EFX_QWORD_FIELD(*event, FSF_AB_GLB_EV_G_PHY0_INTR) || |
891 | EFX_QWORD_FIELD(*event, FSF_AB_GLB_EV_XG_PHY0_INTR) || | 892 | EFX_QWORD_FIELD(*event, FSF_AB_GLB_EV_XG_PHY0_INTR) || |
@@ -895,7 +896,7 @@ falcon_handle_global_event(struct efx_channel *channel, efx_qword_t *event) | |||
895 | 896 | ||
896 | if ((efx_nic_rev(efx) == EFX_REV_FALCON_B0) && | 897 | if ((efx_nic_rev(efx) == EFX_REV_FALCON_B0) && |
897 | EFX_QWORD_FIELD(*event, FSF_BB_GLB_EV_XG_MGT_INTR)) { | 898 | EFX_QWORD_FIELD(*event, FSF_BB_GLB_EV_XG_MGT_INTR)) { |
898 | efx->xmac_poll_required = true; | 899 | nic_data->xmac_poll_required = true; |
899 | return true; | 900 | return true; |
900 | } | 901 | } |
901 | 902 | ||