[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#785707: Add USB support for APM Mustang



On Tue, 2015-05-19 at 12:52 +0100, Steve McIntyre wrote:
> diff -Nru linux-3.16.7-ckt9/debian/changelog linux-3.16.7-ckt9/debian/changelog
> --- linux-3.16.7-ckt9/debian/changelog  2015-04-13 01:01:55.000000000 +0000
> +++ linux-3.16.7-ckt9/debian/changelog  2015-05-15 08:47:00.000000000 +0000
> @@ -1,3 +1,10 @@
> +linux (3.16.7-ckt9-2.1) unstable; urgency=medium
> +
> +  * arm64: enable XHCI USB on APM X-Gene
> +  * usb: host: allow 64-bit DMA mask for XHCI
> +
> + -- Steve McIntyre <93sam@debian.org>  Fri, 15 May 2015 09:41:31 +0100
> +
>  linux (3.16.7-ckt9-2) unstable; urgency=medium
>  
>    * btrfs: simplify insert_orphan_item (Closes: #782362)
> diff -Nru linux-3.16.7-ckt9/debian/config/arm64/config linux-3.16.7-ckt9/debian/config/arm64/config
> --- linux-3.16.7-ckt9/debian/config/arm64/config        2015-01-02 03:46:07.000000000 +0000
> +++ linux-3.16.7-ckt9/debian/config/arm64/config        2015-05-15 08:54:05.000000000 +0000
> @@ -120,6 +120,8 @@
>  CONFIG_USB_EHCI_HCD_PLATFORM=m
>  CONFIG_USB_OHCI_HCD=m
>  CONFIG_USB_OHCI_HCD_PLATFORM=m
> +CONFIG_USB_XHCI_HCD=m
> +CONFIG_USB_XHCI_PLATFORM=y

Never specify hidden config symbols under debian/config; it has no
effect so it's misleading.

>  ##
>  ## file: drivers/virtio/Kconfig
> diff -Nru linux-3.16.7-ckt9/debian/patches/features/arm64/xgene-enable-xhci-usb.patch linux-3.16.7-ckt9/debian/patches/features/arm64/xgene-enable-xhci-usb.patch
> --- linux-3.16.7-ckt9/debian/patches/features/arm64/xgene-enable-xhci-usb.patch 1970-01-01 00:00:00.000000000 +0000
> +++ linux-3.16.7-ckt9/debian/patches/features/arm64/xgene-enable-xhci-usb.patch 2015-05-15 10:48:28.000000000 +0000
> @@ -0,0 +1,40 @@

This patch needs a header.

> +Index: linux-3.16.7-ckt9/drivers/usb/host/xhci-plat.c
> +===================================================================
> +--- linux-3.16.7-ckt9.orig/drivers/usb/host/xhci-plat.c
> ++++ linux-3.16.7-ckt9/drivers/usb/host/xhci-plat.c
[...]
> +--- linux-3.16.7-ckt9.orig/drivers/usb/host/Kconfig
> ++++ linux-3.16.7-ckt9/drivers/usb/host/Kconfig
> +@@ -28,6 +28,7 @@
> + 
> + config USB_XHCI_PLATFORM
> +       tristate
> ++      default m

This is wrong; we should not be building USB_XHCI_PLATFORM on every
architecture that has USB.  Maybe this symbol should be un-hidden
instead?

Ben.

> + config USB_XHCI_MVEBU
> +       tristate "xHCI support for Marvell Armada 375/38x"
> diff -Nru linux-3.16.7-ckt9/debian/patches/series linux-3.16.7-ckt9/debian/patches/series
> --- linux-3.16.7-ckt9/debian/patches/series     2015-04-13 00:40:38.000000000 +0000
> +++ linux-3.16.7-ckt9/debian/patches/series     2015-05-15 08:47:26.000000000 +0000
> @@ -578,3 +578,4 @@
>  debian/procfs-avoid-abi-change-in-3.16.7-ckt8.patch
>  
>  bugfix/all/btrfs-simplify-insert_orphan_item.patch
> +features/arm64/xgene-enable-xhci-usb.patch

-- 
Ben Hutchings
I'm not a reverse psychological virus.  Please don't copy me into your sig.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: