From 1a41970364bef6c933694c190edd2534e1c27082 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Wed, 5 Mar 2008 23:17:38 -0800 Subject: [PATCH] --- yaml --- r: 93305 b: refs/heads/master c: 22552b286b44b8988e08fb74379507a9b32521b0 h: refs/heads/master i: 93303: e617cf3a0887d40ee5a4cefd728f32ec24d8edcb v: v3 --- [refs] | 2 +- trunk/drivers/usb/core/Kconfig | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 21ea53d6002f..5965e2ef40d9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b56394bf325820e9f338eaef2941f18b17b98098 +refs/heads/master: 22552b286b44b8988e08fb74379507a9b32521b0 diff --git a/trunk/drivers/usb/core/Kconfig b/trunk/drivers/usb/core/Kconfig index c15621d64579..fee864c9e62d 100644 --- a/trunk/drivers/usb/core/Kconfig +++ b/trunk/drivers/usb/core/Kconfig @@ -111,14 +111,16 @@ config USB_OTG config USB_OTG_WHITELIST bool "Rely on OTG Targeted Peripherals List" - depends on USB_OTG - default y + depends on USB_OTG || EMBEDDED + default y if USB_OTG + default n if EMBEDDED help If you say Y here, the "otg_whitelist.h" file will be used as a product whitelist, so USB peripherals not listed there will be rejected during enumeration. This behavior is required by the USB OTG specification for all devices not on your product's - "Targeted Peripherals List". + "Targeted Peripherals List". "Embedded Hosts" are likewise + allowed to support only a limited number of peripherals. Otherwise, peripherals not listed there will only generate a warning and enumeration will continue. That's more like what @@ -127,9 +129,10 @@ config USB_OTG_WHITELIST config USB_OTG_BLACKLIST_HUB bool "Disable external hubs" - depends on USB_OTG + depends on USB_OTG || EMBEDDED help If you say Y here, then Linux will refuse to enumerate external hubs. OTG hosts are allowed to reduce hardware - and software costs by not supporting external hubs. + and software costs by not supporting external hubs. So + are "Emedded Hosts" that don't offer OTG support.