login
Header Space

 
 

Re: [Bugme-new] [Bug 10380] New: sc92031 does not create a device link in sysfs

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <netdev@...>, <bugme-daemon@...>, Cesar Eduardo Barros <cesarb@...>, <tom@...>
Date: Wednesday, April 2, 2008 - 12:49 pm

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

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
---
Patch against 2.6.25-rc8, ignore previous patch.


--- a/drivers/net/sc92031.c	2008-04-02 09:34:35.000000000 -0700
+++ b/drivers/net/sc92031.c	2008-04-02 09:47:41.000000000 -0700
@@ -1446,6 +1446,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);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Bugme-new] [Bug 10380] New: sc92031 does not create a d..., Stephen Hemminger, (Wed Apr 2, 12:49 pm)
Re: [Bugme-new] [Bug 10380] New: sc92031 does not create a d..., Thomas Scheiblauer, (Wed Apr 2, 1:08 pm)
[PATCH 3/3] sc92031: use netdev_alloc_skb, Stephen Hemminger, (Wed Apr 2, 1:13 pm)
[PATCH 2/3] sc92031: start transmit return value bugfix, Stephen Hemminger, (Wed Apr 2, 1:11 pm)
[PATCH 1/3] sc92031: use net_device stats, Stephen Hemminger, (Wed Apr 2, 1:11 pm)
Re: [PATCH 1/3] sc92031: use net_device stats, Jeff Garzik, (Sat Apr 12, 5:02 am)
[PATCH 1/3] sc92031: use net_device stats, Stephen Hemminger, (Wed Apr 2, 1:08 pm)
[PATCH] sc92031: sysfs link missing, Stephen Hemminger, (Wed Apr 2, 12:39 pm)
Re: [PATCH] sc92031: sysfs link missing, Jeff Garzik, (Fri Apr 4, 1:46 am)
Re: [PATCH] sc92031: sysfs link missing, Andrew Morton, (Fri Apr 4, 1:52 am)
Re: [PATCH] sc92031: sysfs link missing, Jeff Garzik, (Fri Apr 4, 2:40 am)
speck-geostationary