Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
adb,fastboot: add USB support for Intel Vendor ID
Browse files Browse the repository at this point in the history
This patch adds Intel USB Vendor ID into the support
list for adb and fastboot.

Signed-off-by: Wu, Hao <hao.wu@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
  • Loading branch information
WuHao270 authored and mdhorn committed Jan 17, 2012
1 parent e7b1f13 commit f60e863
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adb/usb_vendors.c
Expand Up @@ -37,6 +37,8 @@

// Google's USB Vendor ID
#define VENDOR_ID_GOOGLE 0x18d1
// Intel's USB Vendor ID
#define VENDOR_ID_INTEL 0x8087
// HTC's USB Vendor ID
#define VENDOR_ID_HTC 0x0bb4
// Samsung's USB Vendor ID
Expand Down Expand Up @@ -116,6 +118,7 @@
/** built-in vendor list */
int builtInVendorIds[] = {
VENDOR_ID_GOOGLE,
VENDOR_ID_INTEL,
VENDOR_ID_HTC,
VENDOR_ID_SAMSUNG,
VENDOR_ID_MOTOROLA,
Expand Down
1 change: 1 addition & 0 deletions fastboot/fastboot.c
Expand Up @@ -150,6 +150,7 @@ int match_fastboot(usb_ifc_info *info)
{
if(!(vendor_id && (info->dev_vendor == vendor_id)) &&
(info->dev_vendor != 0x18d1) && // Google
(info->dev_vendor != 0x8087) && // Intel
(info->dev_vendor != 0x0451) &&
(info->dev_vendor != 0x0502) &&
(info->dev_vendor != 0x0fce) && // Sony Ericsson
Expand Down

0 comments on commit f60e863

Please sign in to comment.