On Thu, 13 Nov 2014, Andreas Herrmann wrote: > Hi Alan, > > With following patches I want to base octeon ehci/ohci device > configuration on device tree information. > > I picked up patches that were submitted in May. See > http://marc.info/?l=linux-usb&m=140135823325811&w=2 > and http://marc.info/?l=linux-mips&m=140139694721623&w=2 > > Patch #1 is your "untested preliminary pass" to remove > [oe]hci-octeon drivers. > Patch #2 is the removal of hard-coded platform information (but now > rebased on your patch) > Patch #3 adapts dma_mask for ehci (as used in ehci-octeon) > > Overall diffstat is > > arch/mips/cavium-octeon/octeon-platform.c | 380 +++++++++++++++++++++++------ > arch/mips/configs/cavium_octeon_defconfig | 3 + > drivers/usb/host/Kconfig | 18 +- > drivers/usb/host/Makefile | 1 - > drivers/usb/host/ehci-hcd.c | 5 - > drivers/usb/host/ehci-octeon.c | 188 -------------- > drivers/usb/host/ehci-platform.c | 4 +- > drivers/usb/host/octeon2-common.c | 200 --------------- > drivers/usb/host/ohci-hcd.c | 5 - > drivers/usb/host/ohci-octeon.c | 202 --------------- > drivers/usb/host/ohci-platform.c | 1 + > include/linux/usb/ehci_pdriver.h | 1 + > 12 files changed, 330 insertions(+), 678 deletions(-) > > Patches are based on v3.18-rc4-65-g2c54396 > > Comments welcome. At a very quick first glance, it looks great. Have you tested it thoroughly? Alan Stern