netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] NetXen: 1G/10G Ethernet Driver updates
@ 2006-11-07 16:33 Amit S. Kale
  2006-11-07 16:38 ` [PATCH 1/3] NetXen: Fixed /sys mapping between device and driver Amit S. Kale
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Amit S. Kale @ 2006-11-07 16:33 UTC (permalink / raw)
  To: netdev; +Cc: jeff, Sanjeev Jorapur, Rob Mapes, wendyx, brazilnut, netxenproj

Hi All,

I will be sending NetXen 1G/10G ethernet driver updates in subsequent 
emails. Kindly review it and feel free to send feedback.

Thanks,
--Amit


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 1/3] NetXen: Fixed /sys mapping between device and driver
@ 2006-11-17 15:25 Linsys Contractor Amit S. Kale
  0 siblings, 0 replies; 8+ messages in thread
From: Linsys Contractor Amit S. Kale @ 2006-11-17 15:25 UTC (permalink / raw)
  To: netdev; +Cc: brazilnut, jeff, netxenproj, rob, sanjeev, wendyx

Signed-off-by: Amit S. Kale <amitkale@netxen.com>

 netxen_nic_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 145bf47..a055208 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -273,6 +273,7 @@ netxen_nic_probe(struct pci_dev *pdev, c
 		}
 
 		SET_MODULE_OWNER(netdev);
+		SET_NETDEV_DEV(netdev, &pdev->dev);
 
 		port = netdev_priv(netdev);
 		port->netdev = netdev;
@@ -1043,7 +1044,7 @@ static int netxen_nic_poll(struct net_de
 		netxen_nic_enable_int(adapter);
 	}
 
-	return (done ? 0 : 1);
+	return (!done);
 }
 
 #ifdef CONFIG_NET_POLL_CONTROLLER

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-11-17 15:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 16:33 [PATCH 0/3] NetXen: 1G/10G Ethernet Driver updates Amit S. Kale
2006-11-07 16:38 ` [PATCH 1/3] NetXen: Fixed /sys mapping between device and driver Amit S. Kale
2006-11-07 16:49   ` Ingo Oeser
2006-11-08  6:07     ` Amit S. Kale
2006-11-14 15:26   ` Jeff Garzik
2006-11-07 16:44 ` [PATCH 2/3] NetXen: 1G/10G Ethernet Driver updates Amit S. Kale
2006-11-07 17:02 ` [PATCH 3/3] " Amit S. Kale
  -- strict thread matches above, loose matches on Subject: below --
2006-11-17 15:25 [PATCH 1/3] NetXen: Fixed /sys mapping between device and driver Linsys Contractor Amit S. Kale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).