diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-07-19 09:37:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-30 16:27:44 -0400 |
commit | c17b49ec31fea27c1dad8a224f5aaa1897519e37 (patch) | |
tree | c3248fa7d33ad3bf74f54dd40c4319de010ba902 /drivers/usb/storage | |
parent | 1aebb781e339b04c64e140860447f2a66c08417f (diff) |
USB: Don't let usb-storage steal Blackberry Pearl
The Blackberry Pearl can run in two modes; a usb-storage only mode
and a mode that allows access via mass storage and to its database.
The berry_charge module will set the device to dual mode and thus we
should ignore its native mode if that module is built
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r-- | drivers/usb/storage/unusual_devs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index a624e72f81dc..da08fcd79d75 100644 --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h | |||
@@ -1357,6 +1357,20 @@ UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100, | |||
1357 | US_SC_DEVICE, US_PR_DEVICE, NULL, | 1357 | US_SC_DEVICE, US_PR_DEVICE, NULL, |
1358 | US_FL_IGNORE_RESIDUE ), | 1358 | US_FL_IGNORE_RESIDUE ), |
1359 | 1359 | ||
1360 | /* Jeremy Katz <katzj@redhat.com>: | ||
1361 | * The Blackberry Pearl can run in two modes; a usb-storage only mode | ||
1362 | * and a mode that allows access via mass storage and to its database. | ||
1363 | * The berry_charge module will set the device to dual mode and thus we | ||
1364 | * should ignore its native mode if that module is built | ||
1365 | */ | ||
1366 | #ifdef CONFIG_USB_BERRY_CHARGE | ||
1367 | UNUSUAL_DEV( 0x0fca, 0x0006, 0x0001, 0x0001, | ||
1368 | "RIM", | ||
1369 | "Blackberry Pearl", | ||
1370 | US_SC_DEVICE, US_PR_DEVICE, NULL, | ||
1371 | US_FL_IGNORE_DEVICE ), | ||
1372 | #endif | ||
1373 | |||
1360 | /* Reported by Michael Stattmann <michael@stattmann.com> */ | 1374 | /* Reported by Michael Stattmann <michael@stattmann.com> */ |
1361 | UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000, | 1375 | UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000, |
1362 | "Sony Ericsson", | 1376 | "Sony Ericsson", |