[PATCH 4/4] xhci: Allow xHCI drivers to be built as separate modules

2014-10-03 Thread Mathias Nyman
From: Andrew Bresticker Instead of building all of the xHCI code into a single module, separate it out into the core (xhci-hcd), PCI (xhci-pci, now selected by the new config option CONFIG_USB_XHCI_PCI), and platform (xhci-plat) drivers. Also update the PCI/platform drivers with module descriptio

Re: [PATCH 4/4] xhci: Allow xHCI drivers to be built as separate modules

2014-07-14 Thread Andrew Bresticker
+Gregory On Mon, Jul 14, 2014 at 11:36 AM, Julius Werner wrote: >> Nope - since CONFIG_USB_XHCI_MVEBU can be 'y' or 'm' we need the ifneq >> here (which matches against both) to ensure xhci-mvebu.o is built is >> part of xhci-plat-hcd.o. > > Oh... does it make sense to have it tristate at all, th

Re: [PATCH 4/4] xhci: Allow xHCI drivers to be built as separate modules

2014-07-14 Thread Julius Werner
> Nope - since CONFIG_USB_XHCI_MVEBU can be 'y' or 'm' we need the ifneq > here (which matches against both) to ensure xhci-mvebu.o is built is > part of xhci-plat-hcd.o. Oh... does it make sense to have it tristate at all, then? Looks like was never really buildable as an independent module (and

Re: [PATCH 4/4] xhci: Allow xHCI drivers to be built as separate modules

2014-07-14 Thread Andrew Bresticker
On Thu, Jul 10, 2014 at 11:34 AM, Julius Werner wrote: >> diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile >> index af89a90..bafba71 100644 >> --- a/drivers/usb/host/Makefile >> +++ b/drivers/usb/host/Makefile >> @@ -15,19 +15,19 @@ fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o >> xhc

Re: [PATCH 4/4] xhci: Allow xHCI drivers to be built as separate modules

2014-07-10 Thread Julius Werner
> diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile > index af89a90..bafba71 100644 > --- a/drivers/usb/host/Makefile > +++ b/drivers/usb/host/Makefile > @@ -15,19 +15,19 @@ fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o > xhci-hcd-y := xhci.o xhci-mem.o > xhci-hcd-y += xhci-ring.o xhci

[PATCH 4/4] xhci: Allow xHCI drivers to be built as separate modules

2014-07-09 Thread Andrew Bresticker
Instead of building all of the xHCI code into a single module, separate it out into the core (xhci-hcd), PCI (xhci-pci, now selected by the new config option CONFIG_USB_XHCI_PCI), and platform (xhci-plat) drivers. Also update the PCI/platform drivers with module descriptions/licenses and have them