summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-12 00:16:24 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:04 -0700
commit10eb67ec70bf1a41dd1b94fc74a952e3845ab59b (patch)
treec0175b5b1c87d01f42d14484655c0a7ab46bc54e
parentd1f382f026ce03b9f2ef9111bacd821cbb33f743 (diff)
[PATCH] update wait_for_sysfs with a bunch more devices thanks to user reports.
-rw-r--r--wait_for_sysfs.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c
index 2504b2e0c3..86422c24c0 100644
--- a/wait_for_sysfs.c
+++ b/wait_for_sysfs.c
@@ -63,6 +63,7 @@ static int wait_for_class_device_attributes(struct sysfs_class_device *class_dev
{ .subsystem = "usb_host", .file = NULL },
{ .subsystem = "bluetooth", .file = "address" },
{ .subsystem = "i2c-adapter", .file = NULL },
+ { .subsystem = "pci_bus", .file = NULL },
{ NULL, NULL }
};
struct class_file *classfile;
@@ -126,8 +127,7 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d
{ .subsystem = "input", .device = "mice" },
{ .subsystem = "input", .device = "mouse" },
{ .subsystem = "input", .device = "ts" },
- { .subsystem = "vc", .device = "vcs" },
- { .subsystem = "vc", .device = "vcsa" },
+ { .subsystem = "vc", .device = NULL },
{ .subsystem = "tty", .device = NULL },
{ .subsystem = "cpuid", .device = "cpu" },
{ .subsystem = "graphics", .device = "fb" },
@@ -135,9 +135,15 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d
{ .subsystem = "misc", .device = NULL },
{ .subsystem = "msr", .device = NULL },
{ .subsystem = "netlink", .device = NULL },
+ { .subsystem = "net", .device = NULL },
{ .subsystem = "sound", .device = NULL },
- { .subsystem = "snd", .device = NULL },
{ .subsystem = "printer", .device = "lp" },
+ { .subsystem = "nvidia", .device = NULL },
+ { .subsystem = "video4linux", .device = NULL },
+ { .subsystem = "lirc", .device = NULL },
+ { .subsystem = "firmware", .device = NULL },
+ { .subsystem = "drm", .device = NULL },
+ { .subsystem = "pci_bus", .device = NULL },
{ NULL, NULL }
};
struct class_device *classdevice;