aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_init.c
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-03-09 04:50:56 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-10 08:10:04 -0400
commit1e2d0059fc24c84356721c16c2ad0590c38015a0 (patch)
treed968ab1ea6c4a7b3fe95cb75686576d57c0ab2e9 /drivers/net/netxen/netxen_nic_init.c
parentbecf46a012db667c562bbbe589c14e100b62e5a4 (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.c2
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
317void netxen_initialize_adapter_ops(struct netxen_adapter *adapter) 317void 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;