]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
[PATCH] Fix ppp net devices in wait_for_sysfs
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 19 Oct 2004 01:13:40 +0000 (18:13 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 05:02:45 +0000 (22:02 -0700)
On Sat, Oct 16, 2004 at 10:32:47AM -0500, Jason Dravet wrote:
> FYI
>
> wait_for_sysfs[2986]: either wait_for_sysfs (udev 038) needs an update to
> handle the device '/class/ppp/ppp' properly (5) or the sysfs-support of
> your device's driver needs to be fixed, please report to
> <linux-hotplug-devel@lists.sourceforge.net>
>
> I am running udev 38-2 and ppp-2.4.2-6.3

Yeah, the ppp-class is missing, we only covered the net ppp-devices.

wait_for_sysfs.c

index aac42e24214e753f28084ec58da99eb9d34177c3..1d7044c61f30e2adb73a71c70d375e669263ab78 100644 (file)
@@ -160,11 +160,12 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d
                { .subsystem = "msr",           .device = NULL },
                { .subsystem = "netlink",       .device = NULL },
                { .subsystem = "net",           .device = "sit" },
-               { .subsystem = "net",           .device = "ppp" },
                { .subsystem = "net",           .device = "lo" },
                { .subsystem = "net",           .device = "tap" },
                { .subsystem = "net",           .device = "ipsec" },
                { .subsystem = "net",           .device = "irda" },
+               { .subsystem = "net",           .device = "ppp" },
+               { .subsystem = "ppp",           .device = NULL },
                { .subsystem = "sound",         .device = NULL },
                { .subsystem = "printer",       .device = "lp" },
                { .subsystem = "nvidia",        .device = NULL },