]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
usb-storage: Add US_FL_IGNORE_DEVICE flag; ignore ZyXEL G220F
authorDaniel Drake <dsd@gentoo.org>
Wed, 26 Jul 2006 12:59:23 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Aug 2006 23:41:42 +0000 (16:41 -0700)
commit3c332422f78159a0f5e4bc5f0ed8bbcbf51d9462
tree3fdb307aac396d9ae022d78b547cda48fb7d1aa2
parentb7aa94b682dc6b6dcdc01d36f8e65cef5aae81e2
usb-storage: Add US_FL_IGNORE_DEVICE flag; ignore ZyXEL G220F

This patch adds a new unusual_devs flag for when usb-storage needs to ignore
a device that it would otherwise claim.

We need to ignore the ZyXEL G220F as it is a virtual CDROM drive which
includes the windows driver for this USB-WLAN adapter. After the windows
driver is installed on a windows system, it converts it into a WLAN adapter
(by ejecting the virtual disc).

The virtual CDROM is of no interest to Linux users. The zd1211rw driver will
automatically perform the eject operation, we just need to ensure that
usb-storage does not claim the device.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/unusual_devs.h
drivers/usb/storage/usb.c
include/linux/usb_usual.h