chiark / gitweb /
[PATCH] wait_for_sysfs update for /class/firmware and /class/net/irda devices
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Fri, 15 Oct 2004 03:36:12 +0000 (20:36 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 05:02:44 +0000 (22:02 -0700)
update for /class/firmware and /class/net/irda devices

wait_for_sysfs.c

index 292edfa..25a3fb4 100644 (file)
@@ -63,6 +63,7 @@ static int wait_for_class_device_attributes(struct sysfs_class_device *class_dev
                { .subsystem = "pcmcia_socket", .file = NULL }, /* all files are unreadable in empty slot :( */
                { .subsystem = "usb_host",      .file = NULL },
                { .subsystem = "bluetooth",     .file = "address" },
+               { .subsystem = "firmware",      .file = "data" },
                { .subsystem = "i2c-adapter",   .file = NULL },
                { .subsystem = "pci_bus",       .file = NULL },
                { .subsystem = "ieee1394",      .file = NULL },
@@ -144,6 +145,7 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d
                { .subsystem = "net",           .device = "lo" },
                { .subsystem = "net",           .device = "tap" },
                { .subsystem = "net",           .device = "ipsec" },
+               { .subsystem = "net",           .device = "irda" },
                { .subsystem = "sound",         .device = NULL },
                { .subsystem = "printer",       .device = "lp" },
                { .subsystem = "nvidia",        .device = NULL },