summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMithlesh Thukral <mithlesh@netxen.com>2007-05-17 15:52:25 +0200
committerJeff Garzik <jeff@garzik.org>2007-05-18 02:43:15 +0200
commit4a79a04e4c0aa06b556b7d52bfb31c05fbb05616 (patch)
tree62b244200c85260badab08db99d84d8f142eb1a7
parentspidernet: node-aware skbuff allocation (diff)
downloadlinux-4a79a04e4c0aa06b556b7d52bfb31c05fbb05616.tar.xz
linux-4a79a04e4c0aa06b556b7d52bfb31c05fbb05616.zip
NetXen: Fix NetXen driver ping on system-p
NetXen: Fix for driver on System-p This patch will fix a ping issue on system-p Signed-off by: Milan Bag <mbag@netxen.com> Signed-off by: Adhiraj Joshi <adhiraj@netxen.com> Signed-by: Mithlesh Thukral <mithlesh@netxen.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-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 cf0e96adfe44..a36892457761 100644
--- a/drivers/net/netxen/netxen_nic_init.c
+++ b/drivers/net/netxen/netxen_nic_init.c
@@ -1216,7 +1216,7 @@ u32 netxen_process_rcv_ring(struct netxen_adapter *adapter, int ctxid, int max)
/* Window = 1 */
writel(consumer,
NETXEN_CRB_NORMALIZE(adapter,
- recv_crb_registers[ctxid].
+ recv_crb_registers[adapter->portnum].
crb_rcv_status_consumer));
}