Question about EHCI PCI/platform drivers

Tzachi Perelstein <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hello,

I'm working on EHCI HC glue port for Marvell Orion SoC. The Orion has
a PCI/PCIE interfaces as well as an integrated USB controller.

While looking at ehci-hcd.c it looks like there's some kind of dependency
between PCI_DRIVER and PLATFORM_DRIVER. I saw some previous threads
about the ehci-fsl.c regarding this issue, but I'm sure I understand,
for example, why in module_init if pci_register_driver fails the platform
driver is unregistered? Shouldn't these two types of drivers be independent?

Thanks,
Tzachi

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.