From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 08 Dec 2004 17:53:50 +0000 Subject: Re: wait_for_sysfs warning in my driver Message-Id: <1102528430.5987.104.camel@localhost.localdomain> List-Id: References: <41B72ECC.7060302@ammasso.com> In-Reply-To: <41B72ECC.7060302@ammasso.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 > > 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