]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r241082:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Oct 2013 06:06:17 +0000 (06:06 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Oct 2013 06:06:17 +0000 (06:06 +0000)
commit8f83c83af37fbe016585f259d244c2bcfa5021e3
treefd24ea1ebf460563b6a14cc41608d372e41a0184
parent2f9e917172fefda7eca677b9661482211e9c26e4
MFC r241082:
Inherit USB mode from RootHUB port where the USB device is connected.
Only RootHUB ports can be dual mode. Disallow OTG ports on external HUBs.
This simplifies some checks in the USB controller drivers.

git-svn-id: svn://svn.freebsd.org/base/stable/9@257040 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/controller/at91dci.c
sys/dev/usb/controller/atmegadci.c
sys/dev/usb/controller/avr32dci.c
sys/dev/usb/controller/ehci.c
sys/dev/usb/controller/musb_otg.c
sys/dev/usb/controller/ohci.c
sys/dev/usb/controller/uhci.c
sys/dev/usb/controller/uss820dci.c
sys/dev/usb/controller/xhci.c
sys/dev/usb/usb_hub.c
sys/mips/cavium/usb/octusb.c