netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch for 2.6.25? 3/3] sc92031: sysfs link missing
@ 2008-04-11  4:30 akpm
  2008-04-12  8:43 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: akpm @ 2008-04-11  4:30 UTC (permalink / raw)
  To: jeff; +Cc: netdev, akpm, shemminger, cesarb, jgarzik, tom

From: Stephen Hemminger <shemminger@vyatta.com>

Add missing sysfs device association. Compile tested only -ENOHW.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10380

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Cesar Eduardo Barros <cesarb@cesarb.net>
Cc: <tom@sharkbay.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/sc92031.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/net/sc92031.c~sc92031-sysfs-link-missing drivers/net/sc92031.c
--- a/drivers/net/sc92031.c~sc92031-sysfs-link-missing
+++ a/drivers/net/sc92031.c
@@ -1444,6 +1444,7 @@ static int __devinit sc92031_probe(struc
 	}
 
 	pci_set_drvdata(pdev, dev);
+	SET_NETDEV_DEV(dev, &pdev->dev);
 
 #if SC92031_USE_BAR == 0
 	dev->mem_start = pci_resource_start(pdev, SC92031_USE_BAR);
_

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [patch for 2.6.25? 3/3] sc92031: sysfs link missing
@ 2008-04-09  0:31 akpm
  0 siblings, 0 replies; 3+ messages in thread
From: akpm @ 2008-04-09  0:31 UTC (permalink / raw)
  To: jeff; +Cc: netdev, akpm, shemminger, cesarb, jgarzik, tom

From: Stephen Hemminger <shemminger@vyatta.com>

Add missing sysfs device association. Compile tested only -ENOHW.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10380

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Cesar Eduardo Barros <cesarb@cesarb.net>
Cc: <tom@sharkbay.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/sc92031.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/net/sc92031.c~sc92031-sysfs-link-missing drivers/net/sc92031.c
--- a/drivers/net/sc92031.c~sc92031-sysfs-link-missing
+++ a/drivers/net/sc92031.c
@@ -1444,6 +1444,7 @@ static int __devinit sc92031_probe(struc
 	}
 
 	pci_set_drvdata(pdev, dev);
+	SET_NETDEV_DEV(dev, &pdev->dev);
 
 #if SC92031_USE_BAR == 0
 	dev->mem_start = pci_resource_start(pdev, SC92031_USE_BAR);
_

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

end of thread, other threads:[~2008-04-12  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11  4:30 [patch for 2.6.25? 3/3] sc92031: sysfs link missing akpm
2008-04-12  8:43 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2008-04-09  0:31 akpm

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).