summaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2008-06-15 22:59:44 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-06-17 23:06:59 -0400
commit3276fbad8385d8e86d85fad4d86dae669a045c65 (patch)
treedffa1ece415eb7871df54d1e7852394616dca39b /drivers/net/netxen/netxen_nic.h
parentdc515f2e0b356981ea0c4581ff0e587aea8b624a (diff)
downloadop-kernel-dev-3276fbad8385d8e86d85fad4d86dae669a045c65.zip
op-kernel-dev-3276fbad8385d8e86d85fad4d86dae669a045c65.tar.gz
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 8cb29f5..ec2ed89 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -863,6 +863,7 @@ struct netxen_adapter {
unsigned char mac_addr[ETH_ALEN];
int mtu;
int portnum;
+ u8 physical_port;
struct work_struct watchdog_task;
struct timer_list watchdog_timer;
@@ -1169,5 +1170,4 @@ extern int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr,
extern struct ethtool_ops netxen_nic_ethtool_ops;
-extern int physical_port[]; /* physical port # from virtual port.*/
#endif /* __NETXEN_NIC_H_ */
OpenPOWER on IntegriCloud