[PATCH 1/6] UBUNTU: [Config] Enable CONFIG_USB_GADGET_DUMMY_HCD

Tim Gardner tim.gardner at canonical.com
Wed Sep 16 17:42:48 UTC 2009


Andy Whitcroft wrote:
> The PC platform does not contain the correct hardware to be a USB slave,
> so having CONFIG_USB_GADGET_NET2280 enabled does not make much sense. See
> email discussion at:
> 
> https://lists.ubuntu.com/archives/kernel-team/2009-February/004447.html
> 
> Signed-off-by: Andy Whitcroft <apw at canonical.com>
> ---
>  debian.master/abi/2.6.31-10.34/modules.ignore |    1 +
>  debian.master/config/config.common.ubuntu     |    6 +++---
>  2 files changed, 4 insertions(+), 3 deletions(-)
>  create mode 100644 debian.master/abi/2.6.31-10.34/modules.ignore
> 
> diff --git a/debian.master/abi/2.6.31-10.34/modules.ignore b/debian.master/abi/2.6.31-10.34/modules.ignore
> new file mode 100644
> index 0000000..bcc4b2e
> --- /dev/null
> +++ b/debian.master/abi/2.6.31-10.34/modules.ignore
> @@ -0,0 +1 @@
> +net2280
> diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
> index 4779f16..279f690 100644
> --- a/debian.master/config/config.common.ubuntu
> +++ b/debian.master/config/config.common.ubuntu
> @@ -3788,6 +3788,7 @@ CONFIG_USB_DABUSB=m
>  CONFIG_USB_DEVICEFS=y
>  # CONFIG_USB_DEVICE_CLASS is not set
>  CONFIG_USB_DSBR=m
> +CONFIG_USB_DUMMY_HCD=m
>  # CONFIG_USB_DYNAMIC_MINORS is not set
>  CONFIG_USB_EHCI_HCD=y
>  CONFIG_USB_EHCI_ROOT_HUB_TT=y
> @@ -3812,7 +3813,7 @@ CONFIG_USB_GADGETFS=m
>  # CONFIG_USB_GADGET_DEBUG_FILES is not set
>  # CONFIG_USB_GADGET_DEBUG_FS is not set
>  CONFIG_USB_GADGET_DUALSPEED=y
> -# CONFIG_USB_GADGET_DUMMY_HCD is not set
> +CONFIG_USB_GADGET_DUMMY_HCD=y
>  # CONFIG_USB_GADGET_FSL_QE is not set
>  # CONFIG_USB_GADGET_FSL_USB2 is not set
>  # CONFIG_USB_GADGET_GOKU is not set
> @@ -3821,7 +3822,7 @@ CONFIG_USB_GADGET_DUALSPEED=y
>  # CONFIG_USB_GADGET_LH7A40X is not set
>  # CONFIG_USB_GADGET_M66592 is not set
>  # CONFIG_USB_GADGET_MUSB_HDRC is not set
> -CONFIG_USB_GADGET_NET2280=y
> +# CONFIG_USB_GADGET_NET2280 is not set
>  # CONFIG_USB_GADGET_OMAP is not set
>  # CONFIG_USB_GADGET_PXA25X is not set
>  # CONFIG_USB_GADGET_PXA27X is not set
> @@ -3888,7 +3889,6 @@ CONFIG_USB_MICROTEK=m
>  CONFIG_USB_MIDI_GADGET=m
>  CONFIG_USB_MON=y
>  CONFIG_USB_MR800=m
> -CONFIG_USB_NET2280=m
>  CONFIG_USB_NET_AX8817X=m
>  CONFIG_USB_NET_CDCETHER=m
>  CONFIG_USB_NET_CDC_EEM=m

ACK

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list