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/falcon.c | |
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/falcon.c')
-rw-r--r-- | drivers/net/sfc/falcon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c index e3c33fa06c86..ade27920a96c 100644 --- a/drivers/net/sfc/falcon.c +++ b/drivers/net/sfc/falcon.c | |||
@@ -3117,7 +3117,6 @@ void falcon_update_nic_stats(struct efx_nic *efx) | |||
3117 | */ | 3117 | */ |
3118 | 3118 | ||
3119 | struct efx_nic_type falcon_a_nic_type = { | 3119 | struct efx_nic_type falcon_a_nic_type = { |
3120 | .mem_bar = 2, | ||
3121 | .mem_map_size = 0x20000, | 3120 | .mem_map_size = 0x20000, |
3122 | .txd_ptr_tbl_base = FR_AA_TX_DESC_PTR_TBL_KER, | 3121 | .txd_ptr_tbl_base = FR_AA_TX_DESC_PTR_TBL_KER, |
3123 | .rxd_ptr_tbl_base = FR_AA_RX_DESC_PTR_TBL_KER, | 3122 | .rxd_ptr_tbl_base = FR_AA_RX_DESC_PTR_TBL_KER, |
@@ -3131,7 +3130,6 @@ struct efx_nic_type falcon_a_nic_type = { | |||
3131 | }; | 3130 | }; |
3132 | 3131 | ||
3133 | struct efx_nic_type falcon_b_nic_type = { | 3132 | struct efx_nic_type falcon_b_nic_type = { |
3134 | .mem_bar = 2, | ||
3135 | /* Map everything up to and including the RSS indirection | 3133 | /* Map everything up to and including the RSS indirection |
3136 | * table. Don't map MSI-X table, MSI-X PBA since Linux | 3134 | * table. Don't map MSI-X table, MSI-X PBA since Linux |
3137 | * requires that they not be mapped. */ | 3135 | * requires that they not be mapped. */ |