diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-03-09 04:50:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-10 08:10:04 -0400 |
commit | 1e2d0059fc24c84356721c16c2ad0590c38015a0 (patch) | |
tree | d968ab1ea6c4a7b3fe95cb75686576d57c0ab2e9 /drivers/net/netxen/netxen_nic_init.c | |
parent | becf46a012db667c562bbbe589c14e100b62e5a4 (diff) |
netxen: annotate board_config and board_type
Remove huge board config structure from each instance, read
only necessary fields from flash.
Replace board_type with port_type (1G/10G), there's another
board_type field describing card type (SFP/XFP/CX4).
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_init.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_init.c b/drivers/net/netxen/netxen_nic_init.c index bd5e0d692230..120b480c1e82 100644 --- a/drivers/net/netxen/netxen_nic_init.c +++ b/drivers/net/netxen/netxen_nic_init.c | |||
@@ -316,7 +316,7 @@ err_out: | |||
316 | 316 | ||
317 | void netxen_initialize_adapter_ops(struct netxen_adapter *adapter) | 317 | void netxen_initialize_adapter_ops(struct netxen_adapter *adapter) |
318 | { | 318 | { |
319 | switch (adapter->ahw.board_type) { | 319 | switch (adapter->ahw.port_type) { |
320 | case NETXEN_NIC_GBE: | 320 | case NETXEN_NIC_GBE: |
321 | adapter->enable_phy_interrupts = | 321 | adapter->enable_phy_interrupts = |
322 | netxen_niu_gbe_enable_phy_interrupts; | 322 | netxen_niu_gbe_enable_phy_interrupts; |