From: Don Fry <brazilnut@us.ibm.com>
To: netdev@vger.kernel.org
Cc: amitkale@netxen.com, jeff@garzik.org, netxenproj@linsyssoft.com,
rob@netxen.com, sanjeev@netxen.com, wendyx@us.ibm.com
Subject: [PATCH 1/5] NetXen: Fixed /sys mapping between device and driver
Date: Thu, 30 Nov 2006 10:48:57 -0800 [thread overview]
Message-ID: <20061130184857.GA32292@us.ibm.com> (raw)
Signed-off-by: Amit S. Kale <amitkale@netxen.com>
diff -Nupr netdev-2.6/drivers/net/netxen.orig/netxen_nic_main.c netdev-2.6/drivers/net/netxen/netxen_nic_main.c
--- netdev-2.6/drivers/net/netxen.orig/netxen_nic_main.c 2006-11-29 12:13:58.000000000 -0800
+++ netdev-2.6/drivers/net/netxen/netxen_nic_main.c 2006-11-30 09:17:51.000000000 -0800
@@ -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
--
Don Fry
brazilnut@us.ibm.com
reply other threads:[~2006-11-30 18:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061130184857.GA32292@us.ibm.com \
--to=brazilnut@us.ibm.com \
--cc=amitkale@netxen.com \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
--cc=netxenproj@linsyssoft.com \
--cc=rob@netxen.com \
--cc=sanjeev@netxen.com \
--cc=wendyx@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).