diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-10-23 04:32:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-24 07:27:18 -0400 |
commit | dc803df8dd68a045bea4753f5300eeecb961ca2d (patch) | |
tree | 3b9400298648a7a23d1674facff07830c761a3fd /drivers/net/sfc/efx.h | |
parent | 8698a6b642910a3d35be7160cd00dc98ab584d97 (diff) |
sfc: Remove pointless abstraction of memory BAR number
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/efx.h')
-rw-r--r-- | drivers/net/sfc/efx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h index ae76760d4f40..179e0e3b0ec6 100644 --- a/drivers/net/sfc/efx.h +++ b/drivers/net/sfc/efx.h | |||
@@ -19,6 +19,9 @@ | |||
19 | #define FALCON_A_S_DEVID 0x6703 | 19 | #define FALCON_A_S_DEVID 0x6703 |
20 | #define FALCON_B_P_DEVID 0x0710 | 20 | #define FALCON_B_P_DEVID 0x0710 |
21 | 21 | ||
22 | /* Solarstorm controllers use BAR 0 for I/O space and BAR 2(&3) for memory */ | ||
23 | #define EFX_MEM_BAR 2 | ||
24 | |||
22 | /* TX */ | 25 | /* TX */ |
23 | extern netdev_tx_t efx_xmit(struct efx_nic *efx, | 26 | extern netdev_tx_t efx_xmit(struct efx_nic *efx, |
24 | struct efx_tx_queue *tx_queue, | 27 | struct efx_tx_queue *tx_queue, |