chiark / gitweb /
[PATCH] add bus test for usb-serial bus.
authorgreg@kroah.com <greg@kroah.com>
Tue, 13 Jan 2004 07:09:02 +0000 (23:09 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:15 +0000 (21:13 -0700)
namedev.c

index 41fefc4..80ab96a 100644 (file)
--- a/namedev.c
+++ b/namedev.c
@@ -252,6 +252,7 @@ static struct bus_file {
 } bus_files[] = {
        { .bus = "scsi",        .file = "vendor" },
        { .bus = "usb",         .file = "idVendor" },
+       { .bus = "usb-serial",  .file = "detach_state" },
        { .bus = "ide",         .file = "detach_state" },
        { .bus = "pci",         .file = "vendor" },
        {}