chiark / gitweb /
usb_id: handle ATAPI devices like SCSI devices
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 22 Jan 2009 18:23:33 +0000 (19:23 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 22 Jan 2009 18:23:33 +0000 (19:23 +0100)
commite339233993ede35a1e8eba5c0644e20622d6ba40
tree2b4b82c574af2bf807933a7ebb571e742008000c
parent5db88229d1d1d727ee1e60de583cedc6c6aa6d73
usb_id: handle ATAPI devices like SCSI devices

Some weird mass storage devices identify the disks as ATAPI/cdrom
devices, and all disks in such enclusure get the same ids which
overwrite each other, in such cases, get the typ of device from the
scsi device, which has more knowledge what kind of device it really
is.
extras/usb_id/usb_id.c