mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-04 23:17:07 +08:00
if_dwc: Add nexus device support
This commit is contained in:
parent
c07da019f3
commit
f8ed8cd881
@ -1480,7 +1480,11 @@ driver_t dwc_driver = {
|
|||||||
|
|
||||||
static devclass_t dwc_devclass;
|
static devclass_t dwc_devclass;
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
DRIVER_MODULE(dwc, simplebus, dwc_driver, dwc_devclass, 0, 0);
|
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);
|
DRIVER_MODULE(miibus, dwc, miibus_driver, miibus_devclass, 0, 0);
|
||||||
|
|
||||||
MODULE_DEPEND(dwc, ether, 1, 1, 1);
|
MODULE_DEPEND(dwc, ether, 1, 1, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user