From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: wait_for_sysfs warning in my driver
Date: Wed, 08 Dec 2004 17:53:50 +0000 [thread overview]
Message-ID: <1102528430.5987.104.camel@localhost.localdomain> (raw)
In-Reply-To: <41B72ECC.7060302@ammasso.com>
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
prev parent reply other threads:[~2004-12-08 17:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-08 16:41 wait_for_sysfs warning in my driver ttabi2
2004-12-08 17:53 ` Kay Sievers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1102528430.5987.104.camel@localhost.localdomain \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.