From: Mithlesh Thukral Date: Thu, 17 May 2007 13:52:25 +0000 (-0700) Subject: NetXen: Fix NetXen driver ping on system-p X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4a79a04e4c0aa06b556b7d52bfb31c05fbb05616;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off by: Adhiraj Joshi Signed-by: Mithlesh Thukral Signed-off-by: Jeff Garzik --- 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)); }