[rtems-libbsd commit] if_dwc: Add nexus device support
Sebastian Huber
sebh at rtems.org
Wed Apr 1 07:16:38 UTC 2015
Module: rtems-libbsd
Branch: master
Commit: c94bb491a0b693d095c1dbe979f1302ab02c13c4
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=c94bb491a0b693d095c1dbe979f1302ab02c13c4
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Mar 26 15:21:07 2015 +0100
if_dwc: Add nexus device support
---
freebsd/sys/dev/dwc/if_dwc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/freebsd/sys/dev/dwc/if_dwc.c b/freebsd/sys/dev/dwc/if_dwc.c
index 15d4d59..bb92b9f 100644
--- a/freebsd/sys/dev/dwc/if_dwc.c
+++ b/freebsd/sys/dev/dwc/if_dwc.c
@@ -1360,7 +1360,11 @@ static driver_t dwc_driver = {
static devclass_t dwc_devclass;
+#ifndef __rtems__
DRIVER_MODULE(dwc, simplebus, dwc_driver, dwc_devclass, 0, 0);
+#else /* __rtems__ */
+DRIVER_MODULE(dwc, nexus, dwc_driver, dwc_devclass, 0, 0);
+#endif /* __rtems__ */
DRIVER_MODULE(miibus, dwc, miibus_driver, miibus_devclass, 0, 0);
MODULE_DEPEND(dwc, ether, 1, 1, 1);
More information about the vc
mailing list