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

Bug#785707: Add USB support for APM Mustang



On Tue, May 19, 2015 at 02:20:08PM +0100, Ben Hutchings wrote:
>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.

ACK, will add one shortly.

>> +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?

I have absolutely no idea how to do that - help please!

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"Since phone messaging became popular, the young generation has lost the
 ability to read or write anything that is longer than one hundred and sixty
 characters."  -- Ignatios Souvatzis


Reply to: