diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-05-23 06:20:25 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-05-23 06:20:25 +0000 |
commit | db2ff6972d2757c22fbe505613d6b187d0f4822a (patch) | |
tree | de53d704e0e68e97c1bf500e252dd9cbec096ad2 /sys/dev/usb/controller/dwc_otg_atmelarm.c | |
parent | 4ea8710a4b7600e16a530ea0af67c98b254cca4b (diff) | |
download | FreeBSD-src-db2ff6972d2757c22fbe505613d6b187d0f4822a.zip FreeBSD-src-db2ff6972d2757c22fbe505613d6b187d0f4822a.tar.gz |
MFC r265358, r265427, r265777, r265783,
r265806, r265872, r266012 and r266394:
- Multiple DWC OTG host mode related fixes, improvements and optimisations.
- Add full support for ISOCHRONOUS transfers to the DWC OTG driver.
- Use the interrupt filter to handle basic USB FIFO interrupts.
- Fixed unbalanced unlock in case of "dwc_otg_init_fifo()" failure.
- Add common spinlock to the USB bus structure.
Diffstat (limited to 'sys/dev/usb/controller/dwc_otg_atmelarm.c')
-rw-r--r-- | sys/dev/usb/controller/dwc_otg_atmelarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/dwc_otg_atmelarm.c b/sys/dev/usb/controller/dwc_otg_atmelarm.c index 9dc072d..33c5bec 100644 --- a/sys/dev/usb/controller/dwc_otg_atmelarm.c +++ b/sys/dev/usb/controller/dwc_otg_atmelarm.c @@ -116,7 +116,7 @@ dwc_otg_attach(device_t dev) device_set_ivars(sc->sc_otg.sc_bus.bdev, &sc->sc_otg.sc_bus); err = bus_setup_intr(dev, sc->sc_otg.sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, - NULL, (driver_intr_t *)dwc_otg_interrupt, sc, &sc->sc_otg.sc_intr_hdl); + &dwc_otg_filter_interrupt, &dwc_otg_interrupt, sc, &sc->sc_otg.sc_intr_hdl); if (err) { sc->sc_otg.sc_intr_hdl = NULL; goto error; |