chiark / gitweb /
[PATCH] add support for usb interfaces to wait_for_sysfs to keep it quiet.
authorgreg@kroah.com <greg@kroah.com>
Thu, 7 Oct 2004 07:11:04 +0000 (00:11 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:03 +0000 (21:37 -0700)
wait_for_sysfs.c

index 6275db23b1ee3bb14c96702231b2deb86fbe638e..28ff43bdb5370dc07179bcba4751523269e0d1c0 100644 (file)
@@ -174,6 +174,7 @@ static int wait_for_bus_device(struct sysfs_device *device_dev)
                { .bus = "scsi",        .file = "vendor" },
                { .bus = "usb",         .file = "idVendor" },
                { .bus = "usb",         .file = "iInterface" },
+               { .bus = "usb",         .file = "bNumEndpoints" },
                { .bus = "usb-serial",  .file = "detach_state" },
                { .bus = "ide",         .file = "detach_state" },
                { .bus = "pci",         .file = "vendor" },