From: greg@kroah.com Date: Thu, 7 Oct 2004 07:11:04 +0000 (-0700) Subject: [PATCH] add support for usb interfaces to wait_for_sysfs to keep it quiet. X-Git-Tag: 033~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e284ecba7646562da9ad4c3c22871f6c341960d4;p=systemd [PATCH] add support for usb interfaces to wait_for_sysfs to keep it quiet. --- diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c index 6275db23..28ff43bd 100644 --- a/wait_for_sysfs.c +++ b/wait_for_sysfs.c @@ -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" },