am 0c054095: am 746f3243: Add USB vendor IDs for Quanta, INQ and Sony.

* commit '0c05409510037fd7372c3fe7ab240ebf33b15831':
  Add USB vendor IDs for Quanta, INQ and Sony.
This commit is contained in:
Xavier Ducrohet 2012-01-24 11:32:19 -08:00 committed by Android Git Automerger
commit 46f86f11d4
2 changed files with 10 additions and 0 deletions

View File

@ -119,6 +119,12 @@
#define VENDOR_ID_LUMIGON 0x25E3
//Intel's USB Vendor ID
#define VENDOR_ID_INTEL 0x8087
// Quanta's USB Vendor ID
#define VENDOR_ID_QUANTA 0x0408
// INQ Mobile's USB Vendor ID
#define VENDOR_ID_INQ_MOBILE 0x2314
// Sony's USB Vendor ID
#define VENDOR_ID_SONY 0x054C
/** built-in vendor list */
int builtInVendorIds[] = {
@ -164,6 +170,9 @@ int builtInVendorIds[] = {
VENDOR_ID_FUJITSU,
VENDOR_ID_LUMIGON,
VENDOR_ID_INTEL,
VENDOR_ID_QUANTA,
VENDOR_ID_INQ_MOBILE,
VENDOR_ID_SONY,
};
#define BUILT_IN_VENDOR_COUNT (sizeof(builtInVendorIds)/sizeof(builtInVendorIds[0]))

View File

@ -160,6 +160,7 @@ int match_fastboot(usb_ifc_info *info)
(info->dev_vendor != 0x22b8) && // Motorola
(info->dev_vendor != 0x0955) && // Nvidia
(info->dev_vendor != 0x413c) && // DELL
(info->dev_vendor != 0x2314) && // INQ Mobile
(info->dev_vendor != 0x0bb4)) // HTC
return -1;
if(info->ifc_class != 0xff) return -1;