From 0f634c33d7eb634737915dc1aa3b7d7342d1a5f2 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Mon, 18 Oct 2004 18:13:40 -0700 Subject: [PATCH] [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. --- wait_for_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }, -- 2.30.2