From: kay.sievers@vrfy.org Date: Tue, 19 Oct 2004 01:13:40 +0000 (-0700) Subject: [PATCH] Fix ppp net devices in wait_for_sysfs X-Git-Tag: 040~13 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0f634c33d7eb634737915dc1aa3b7d7342d1a5f2;p=elogind.git [PATCH] Fix ppp net devices in wait_for_sysfs 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 > > > 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. --- diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c index aac42e242..1d7044c61 100644 --- a/wait_for_sysfs.c +++ b/wait_for_sysfs.c @@ -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 },