Thread (39 messages) 39 messages, 6 authors, 2014-07-10

[PATCH v1 6/9] usb: xhci: Add NVIDIA Tegra XHCI host-controller driver

From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-07-10 10:42:47
Also in: linux-devicetree, linux-tegra, lkml

On Wednesday 09 July 2014, Alan Stern wrote:
On Tue, 8 Jul 2014, Andrew Bresticker wrote:
quoted
quoted
I think at the very least you should add a function
"xhci_default_driver(struct hc_driver *driver)" to xhci-plat.c (or
even better to xhci.c and use it for PCI as well) that initializes all
function pointers to the default (internal) symbols, and can then be
overridden afterwards.
Currently all XHCI host drivers (PCI, platform, MVEBU) will be built
into the xhci-hcd module.  I could append the Tegra driver to that
module or introduce a xhci_init_driver() like EHCI does as Julius
suggests.  USB folks, do you have a preference?
As the EHCI maintainer, I naturally approve of Julius's suggestion.  
I'm not a USB maintainer, but I also agree that's the best way forward,
since it's similar to what all other similar drivers in the kernel do.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help