diff options
author | Da Zhou <dza@broadcom.com> | 2014-01-17 10:04:07 +0100 |
---|---|---|
committer | Pierre Couillaud <pierre@broadcom.com> | 2014-01-17 23:23:48 +0100 |
commit | 65ad928602479379187d6fbe1d924f0fd60bea0e (patch) | |
tree | 13b4686433a3237b6b58c8ba2068cf848f316b31 /minadbd/adb.h | |
parent | Merge "correctly mount tmpfs as /tmp in recovery" (diff) | |
download | android_bootable_recovery-65ad928602479379187d6fbe1d924f0fd60bea0e.tar android_bootable_recovery-65ad928602479379187d6fbe1d924f0fd60bea0e.tar.gz android_bootable_recovery-65ad928602479379187d6fbe1d924f0fd60bea0e.tar.bz2 android_bootable_recovery-65ad928602479379187d6fbe1d924f0fd60bea0e.tar.lz android_bootable_recovery-65ad928602479379187d6fbe1d924f0fd60bea0e.tar.xz android_bootable_recovery-65ad928602479379187d6fbe1d924f0fd60bea0e.tar.zst android_bootable_recovery-65ad928602479379187d6fbe1d924f0fd60bea0e.zip |
Diffstat (limited to '')
-rw-r--r-- | minadbd/adb.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/minadbd/adb.h b/minadbd/adb.h index 98fa5972e..1f28279d3 100644 --- a/minadbd/adb.h +++ b/minadbd/adb.h @@ -410,6 +410,17 @@ extern int SHELL_EXIT_NOTIFY_FD; #define CHUNK_SIZE (64*1024) +#if !ADB_HOST +#define USB_ADB_PATH "/dev/android_adb" + +#define USB_FFS_ADB_PATH "/dev/usb-ffs/adb/" +#define USB_FFS_ADB_EP(x) USB_FFS_ADB_PATH#x + +#define USB_FFS_ADB_EP0 USB_FFS_ADB_EP(ep0) +#define USB_FFS_ADB_OUT USB_FFS_ADB_EP(ep1) +#define USB_FFS_ADB_IN USB_FFS_ADB_EP(ep2) +#endif + int sendfailmsg(int fd, const char *reason); int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s); |