diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-28 08:36:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 10:58:54 +0300 |
commit | daeda6309e1382819a8f8bab548560742ac26cc2 (patch) | |
tree | 164dbcb3c1e96662c7efbe4b22a39630de9ede3c /drivers/net/sfc/net_driver.h | |
parent | 299f8d69f3590fdbd7b22880234196de3b39ceca (diff) | |
download | linux-daeda6309e1382819a8f8bab548560742ac26cc2.tar.xz |
sfc: Decouple NIC revision number from Falcon PCI revision number
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index ca7dff2269d4..a42a0516d044 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h @@ -844,6 +844,7 @@ static inline const char *efx_dev_name(struct efx_nic *efx) /** * struct efx_nic_type - Efx device type definition * @default_mac_ops: efx_mac_operations to set at startup + * @revision: Hardware architecture revision * @mem_map_size: Memory BAR mapped size * @txd_ptr_tbl_base: TX descriptor ring base address * @rxd_ptr_tbl_base: RX descriptor ring base address @@ -860,6 +861,7 @@ static inline const char *efx_dev_name(struct efx_nic *efx) struct efx_nic_type { struct efx_mac_operations *default_mac_ops; + int revision; unsigned int mem_map_size; unsigned int txd_ptr_tbl_base; unsigned int rxd_ptr_tbl_base; |