summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/dev/usb
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-07 07:09:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-07 07:24:42 +0200
commite11f8e31f0da5e46bb6c4ed4e4945d361383195e (patch)
tree205025acc6f1305bc169638fa8ab9caaf853d046 /freebsd/sys/dev/usb
parentnexus-devices: Add arm/atsamv BSP section (diff)
downloadrtems-libbsd-e11f8e31f0da5e46bb6c4ed4e4945d361383195e.tar.bz2
ohci: Fixes due to USB stack update
Diffstat (limited to 'freebsd/sys/dev/usb')
-rw-r--r--freebsd/sys/dev/usb/controller/ohci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/freebsd/sys/dev/usb/controller/ohci.h b/freebsd/sys/dev/usb/controller/ohci.h
index fad1a9fe..d020d998 100644
--- a/freebsd/sys/dev/usb/controller/ohci.h
+++ b/freebsd/sys/dev/usb/controller/ohci.h
@@ -253,6 +253,12 @@ typedef struct ohci_softc {
uint8_t sc_hub_idata[32];
char sc_vendor[16];
+#ifdef __rtems__
+ int sc_init_done;
+#ifdef BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
+ struct usb_otg_transceiver sc_otg_trans;
+#endif /* BSP_USB_OTG_TRANSCEIVER_I2C_ADDR */
+#endif /* __rtems__ */
} ohci_softc_t;