mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 13:41:31 +00:00
udev: usb_id - remove obsoleted bInterfaceSubClass == 5 match
bInterfaceSubClass == 5 is not a "floppy"; just identify the obsolete QIC-157 interface as "generic".
This commit is contained in:
@@ -91,6 +91,9 @@ static int set_usb_mass_storage_ifsubtype(char *to, const char *from, size_t len
|
||||
type_num = strtoul(from, &eptr, 0);
|
||||
if (eptr != from) {
|
||||
switch (type_num) {
|
||||
case 1: /* RBC devices */
|
||||
type = "rbc";
|
||||
break;
|
||||
case 2:
|
||||
type = "atapi";
|
||||
break;
|
||||
@@ -98,12 +101,8 @@ static int set_usb_mass_storage_ifsubtype(char *to, const char *from, size_t len
|
||||
type = "tape";
|
||||
break;
|
||||
case 4: /* UFI */
|
||||
case 5: /* SFF-8070i */
|
||||
type = "floppy";
|
||||
break;
|
||||
case 1: /* RBC devices */
|
||||
type = "rbc";
|
||||
break;
|
||||
case 6: /* Transparent SPC-2 devices */
|
||||
type = "scsi";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user