aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2008-06-16 01:59:44 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-06-17 23:06:59 -0400
commit3276fbad8385d8e86d85fad4d86dae669a045c65 (patch)
treedffa1ece415eb7871df54d1e7852394616dca39b /drivers/net/netxen/netxen_nic.h
parentdc515f2e0b356981ea0c4581ff0e587aea8b624a (diff)
netxen: remove global physical_port array
Store physical port number in netxen_adapter structure. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r--drivers/net/netxen/netxen_nic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index 8cb29f5b1038..ec2ed89a0828 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -863,6 +863,7 @@ struct netxen_adapter {
863 unsigned char mac_addr[ETH_ALEN]; 863 unsigned char mac_addr[ETH_ALEN];
864 int mtu; 864 int mtu;
865 int portnum; 865 int portnum;
866 u8 physical_port;
866 867
867 struct work_struct watchdog_task; 868 struct work_struct watchdog_task;
868 struct timer_list watchdog_timer; 869 struct timer_list watchdog_timer;
@@ -1169,5 +1170,4 @@ extern int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr,
1169 1170
1170extern struct ethtool_ops netxen_nic_ethtool_ops; 1171extern struct ethtool_ops netxen_nic_ethtool_ops;
1171 1172
1172extern int physical_port[]; /* physical port # from virtual port.*/
1173#endif /* __NETXEN_NIC_H_ */ 1173#endif /* __NETXEN_NIC_H_ */