* wait_for_sysfs warning in my driver
@ 2004-12-08 16:41 ttabi2
2004-12-08 17:53 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: ttabi2 @ 2004-12-08 16:41 UTC (permalink / raw)
To: linux-hotplug
I have an ethernet driver that generates this warning on Fedora Core 3:
Dec 7 12:52:49 vic7 wait_for_sysfs[4254]: either wait_for_sysfs (udev
039) needs an update to handle the device '/class/net/ccilnet0' properly
(no device symlink) or the sysfs-support of your device's driver needs
to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
I've been going through the archives of this mailing list, and I see a
couple posts that suggest this is just a bug in udev, and not in my
driver. Is that correct? If not, can someone give me a quick run-down
as to what I need to do to update my driver? I'm assuming this warning
is because I'm using some deprecated interface.
--
Timur Tabi
Staff Software Engineer
timur.tabi@ammasso.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: wait_for_sysfs warning in my driver
2004-12-08 16:41 wait_for_sysfs warning in my driver ttabi2
@ 2004-12-08 17:53 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2004-12-08 17:53 UTC (permalink / raw)
To: linux-hotplug
On Wed, 2004-12-08 at 10:41 -0600, ttabi2@ammasso.com wrote:
> I have an ethernet driver that generates this warning on Fedora Core 3:
>
> Dec 7 12:52:49 vic7 wait_for_sysfs[4254]: either wait_for_sysfs (udev
> 039) needs an update to handle the device '/class/net/ccilnet0' properly
> (no device symlink) or the sysfs-support of your device's driver needs
> to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
>
> I've been going through the archives of this mailing list, and I see a
> couple posts that suggest this is just a bug in udev, and not in my
> driver. Is that correct?
It's not really a bug. If the device is backed by a physical device, it
should create the symlinks. Only virtual interfaces will not need to do
that.
> If not, can someone give me a quick run-down
> as to what I need to do to update my driver? I'm assuming this warning
> is because I'm using some deprecated interface.
>
Most networkd drivers use:
SET_NETDEV_DEV(dev, &pdev->dev);
to create the expected links in sysfs. You may look at one of the
existing drivers how to do that in your driver.
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-08 17:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 16:41 wait_for_sysfs warning in my driver ttabi2
2004-12-08 17:53 ` Kay Sievers
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).