aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-10-13 01:31:43 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-13 14:48:20 -0400
commit907fa1201c76f426a13bdff5be2747fb62c2353f (patch)
tree2bffcd1f472f03f9a294e0e4b16bbac705b52ba6 /drivers/net/netxen/netxen_nic.h
parent47abe35610cbbfb3cc92847efdf588a8be1f5ebc (diff)
netxen: annotate register windowing code
Use common variables crb_win, ocm_win for all revisions of chip. 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.h')
-rw-r--r--drivers/net/netxen/netxen_nic.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index eef9e66becbd..2a42132b9799 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -549,7 +549,7 @@ struct netxen_hardware_context {
549 unsigned long pci_len0; 549 unsigned long pci_len0;
550 550
551 u32 ocm_win; 551 u32 ocm_win;
552 u32 resv1; 552 u32 crb_win;
553 553
554 u8 cut_through; 554 u8 cut_through;
555 u8 revision_id; 555 u8 revision_id;
@@ -1115,8 +1115,6 @@ struct netxen_adapter {
1115 struct pci_dev *pdev; 1115 struct pci_dev *pdev;
1116 struct list_head mac_list; 1116 struct list_head mac_list;
1117 1117
1118 u32 curr_window;
1119 u32 crb_win;
1120 rwlock_t adapter_lock; 1118 rwlock_t adapter_lock;
1121 1119
1122 spinlock_t tx_clean_lock; 1120 spinlock_t tx_clean_lock;