diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-28 00:36:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 02:58:55 -0500 |
commit | 0228f5cdb03f6656247cf2876f9f4f8fc213ffd6 (patch) | |
tree | a8541286a79b2172dbf3543796e94d0f395d671f /drivers/net/sfc/net_driver.h | |
parent | daeda6309e1382819a8f8bab548560742ac26cc2 (diff) |
sfc: Move descriptor cache base addresses to struct efx_nic_type
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index a42a0516d044..30fb21e60511 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h | |||
@@ -857,6 +857,8 @@ static inline const char *efx_dev_name(struct efx_nic *efx) | |||
857 | * from &enum efx_init_mode. | 857 | * from &enum efx_init_mode. |
858 | * @phys_addr_channels: Number of channels with physically addressed | 858 | * @phys_addr_channels: Number of channels with physically addressed |
859 | * descriptors | 859 | * descriptors |
860 | * @tx_dc_base: Base address in SRAM of TX queue descriptor caches | ||
861 | * @rx_dc_base: Base address in SRAM of RX queue descriptor caches | ||
860 | */ | 862 | */ |
861 | struct efx_nic_type { | 863 | struct efx_nic_type { |
862 | struct efx_mac_operations *default_mac_ops; | 864 | struct efx_mac_operations *default_mac_ops; |
@@ -872,6 +874,8 @@ struct efx_nic_type { | |||
872 | unsigned int rx_buffer_padding; | 874 | unsigned int rx_buffer_padding; |
873 | unsigned int max_interrupt_mode; | 875 | unsigned int max_interrupt_mode; |
874 | unsigned int phys_addr_channels; | 876 | unsigned int phys_addr_channels; |
877 | unsigned int tx_dc_base; | ||
878 | unsigned int rx_dc_base; | ||
875 | }; | 879 | }; |
876 | 880 | ||
877 | /************************************************************************** | 881 | /************************************************************************** |