* [PATCH 2.6.9-rc4 2/2] r8169: use netdev_priv
@ 2004-10-15 22:38 Stephen Hemminger
2004-10-15 23:23 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2004-10-15 22:38 UTC (permalink / raw)
To: Jeff Garzik; +Cc: netdev
Use netdev_priv in a couple of places in realtek 8169
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff -Nru a/drivers/net/r8169.c b/drivers/net/r8169.c
--- a/drivers/net/r8169.c 2004-10-15 15:00:43 -07:00
+++ b/drivers/net/r8169.c 2004-10-15 15:00:43 -07:00
@@ -1119,7 +1119,7 @@
SET_MODULE_OWNER(dev);
SET_NETDEV_DEV(dev, &pdev->dev);
- tp = dev->priv;
+ tp = netdev_priv(dev);
// enable device (incl. PCI PM wakeup and hotplug setup)
rc = pci_enable_device(pdev);
@@ -1270,7 +1270,7 @@
if (rc)
return rc;
- tp = dev->priv;
+ tp = netdev_priv(dev);
assert(ioaddr != NULL);
if (RTL_R8(PHYstatus) & TBI_Enable) {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.6.9-rc4 2/2] r8169: use netdev_priv
2004-10-15 22:38 [PATCH 2.6.9-rc4 2/2] r8169: use netdev_priv Stephen Hemminger
@ 2004-10-15 23:23 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-10-15 23:23 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: netdev
applied both r8169 patches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-15 23:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-15 22:38 [PATCH 2.6.9-rc4 2/2] r8169: use netdev_priv Stephen Hemminger
2004-10-15 23:23 ` Jeff Garzik
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).