Skip to content

Commit

Permalink
adb: Add vendor IDs for iRiver, Compal and T & A Mobile Phones
Browse files Browse the repository at this point in the history
Change-Id: I4dafc43aa76049dd0075e1d70ba05d899e545c8d
Signed-off-by: Mike Lockwood <lockwood@android.com>
  • Loading branch information
mikeandroid committed Jul 11, 2011
1 parent 7a5c146 commit 292e862
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions adb/usb_vendors.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@
#define VENDOR_ID_FUNAI 0x0F1C
// Gigabyte's USB Vendor ID
#define VENDOR_ID_GIGABYTE 0x0414
// IRiver's USB Vendor ID
#define VENDOR_ID_IRIVER 0x2420
// Compal's USB Vendor ID
#define VENDOR_ID_COMPAL 0x1219
// T & A Mobile Phones' USB Vendor ID
#define VENDOR_ID_T_AND_A 0x1BBB


/** built-in vendor list */
Expand Down Expand Up @@ -123,6 +129,9 @@ int builtInVendorIds[] = {
VENDOR_ID_TI,
VENDOR_ID_FUNAI,
VENDOR_ID_GIGABYTE,
VENDOR_ID_IRIVER,
VENDOR_ID_COMPAL,
VENDOR_ID_T_AND_A,
};

#define BUILT_IN_VENDOR_COUNT (sizeof(builtInVendorIds)/sizeof(builtInVendorIds[0]))
Expand Down
2 changes: 1 addition & 1 deletion adb/usb_vendors.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ extern unsigned vendorIdCount;

void usb_vendors_init(void);

#endif
#endif

0 comments on commit 292e862

Please sign in to comment.