opnsense-src/sys/dev/usb/controller
Hans Petter Selasky db4300da10 Multiple DWC OTG host mode related fixes and improvements:
- Rework how we allocate and free USB host channels, so that we only
allocate a channel if there is a real packet going out on the USB
cable.

- Use BULK type for control data and status, due to instabilities in
the HW it appears.

- Split FIFO TX levels into one for the periodic FIFO and one for the
non-periodic FIFO.

- Use correct HFNUM mask when scheduling host transactions. The HFNUM
register does not count the full 16-bit range.

- Correct START/COMPLETION slot for TT transactions. For INTERRUPT and
ISOCHRONOUS type transactions the hardware always respects the ODDFRM
bit, which means we need to allocate multiple host channels when
processing such endpoints, to not miss any so-called complete split
opportunities.

- When doing ISOCHRONOUS OUT transfers through a TT send all data
payload in a single ALL-burst. This deacreases the likelyhood for
isochronous data underruns.

- Fixed unbalanced unlock in case of "dwc_otg_init_fifo()" failure.

- Increase interrupt priority.

MFC after:	2 weeks
2014-05-09 14:23:06 +00:00
..
at91dci.c USB method structures for USB controllers and USB pipes should be 2013-12-11 13:20:32 +00:00
at91dci.h Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
at91dci_atmelarm.c Remove FreeBSD 6 support 2014-02-08 04:29:36 +00:00
at91dci_fdt.c Add device and gadget bindings for fdt. These are preliminary and will 2014-02-28 03:00:31 +00:00
atmegadci.c USB method structures for USB controllers and USB pipes should be 2013-12-11 13:20:32 +00:00
atmegadci.h Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
atmegadci_atmelarm.c Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
avr32dci.c USB method structures for USB controllers and USB pipes should be 2013-12-11 13:20:32 +00:00
avr32dci.h Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
dwc_otg.c Multiple DWC OTG host mode related fixes and improvements: 2014-05-09 14:23:06 +00:00
dwc_otg.h Multiple DWC OTG host mode related fixes and improvements: 2014-05-09 14:23:06 +00:00
dwc_otg_atmelarm.c Fix for DWC OTG interrupt register programming. 2012-03-05 06:41:44 +00:00
dwc_otg_fdt.c Multiple DWC OTG host mode related fixes and improvements: 2014-05-09 14:23:06 +00:00
dwc_otgreg.h Multiple DWC OTG host mode related fixes and improvements: 2014-05-09 14:23:06 +00:00
ehci.c Issue doorbell twice before finally freeing the DMA descriptors. This 2014-02-12 08:04:38 +00:00
ehci.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
ehci_fsl.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
ehci_imx.c Stop calling imx51_ccm_foo() clock functions from imx6 code. Instead 2014-04-26 16:48:09 +00:00
ehci_ixp4xx.c Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
ehci_mv.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
ehci_pci.c Add some more IDs for Intel ATA, AHCI and USB controllers. 2013-11-15 10:28:59 +00:00
ehcireg.h The EHCI_CAPLENGTH and EHCI_HCIVERSION registers are actually sub-registers 2010-10-25 15:51:43 +00:00
musb_otg.c In sys/dev/usb/controller/musb_otg.c, fix a warning about musbotg_odevd 2014-02-16 12:41:57 +00:00
musb_otg.h Correct programming of XXX_MAXP register. This register is 16-bit wide 2013-10-15 17:11:13 +00:00
musb_otg_atmelarm.c - Add initial host mode support for Mentor Graphics USB OTG controller 2013-07-07 04:18:35 +00:00
ohci.c USB method structures for USB controllers and USB pipes should be 2013-12-11 13:20:32 +00:00
ohci.h Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
ohci_atmelarm.c Remove FreeBSD 6 support 2014-02-08 04:29:36 +00:00
ohci_fdt.c Add device and gadget bindings for fdt. These are preliminary and will 2014-02-28 03:00:31 +00:00
ohci_pci.c Fix some USB controller names according to pciconf output. 2013-08-17 06:29:45 +00:00
ohci_s3c24x0.c Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
ohcireg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 10:18:03 +00:00
uhci.c Separate I/O errors from reception of STALL PID. 2014-01-13 15:06:03 +00:00
uhci.h Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
uhci_pci.c Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
uhcireg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 10:18:03 +00:00
usb_controller.c Fix typos. 2013-12-08 06:52:22 +00:00
uss820dci.c In sys/dev/usb/controller/uss820dci.c, similar to r261977, fix a warning 2014-02-17 20:08:11 +00:00
uss820dci.h Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
uss820dci_atmelarm.c Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
xhci.c Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel 2014-04-27 15:41:44 +00:00
xhci.h Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel 2014-04-27 15:41:44 +00:00
xhci_pci.c Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel 2014-04-27 15:41:44 +00:00
xhcireg.h Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel 2014-04-27 15:41:44 +00:00