diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-08-13 07:13:42 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-08-13 07:13:42 +0000 |
commit | 96ae0a8bade111d32492974d254b7a56b5642a06 (patch) | |
tree | 78e3e2fa4cdd8e4ac487e744bee9938a5f11c652 /sys/dev | |
parent | 65b6c4f29b9a0413e28c72728003ca6a0cf74dea (diff) | |
download | FreeBSD-src-96ae0a8bade111d32492974d254b7a56b5642a06.zip FreeBSD-src-96ae0a8bade111d32492974d254b7a56b5642a06.tar.gz |
MFC r269565:
Rename driver name a bit to avoid unit number confusion in dmesg.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/controller/usb_controller.c | 2 | ||||
-rw-r--r-- | sys/dev/usb/controller/uss820dci_atmelarm.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/controller/usb_controller.c b/sys/dev/usb/controller/usb_controller.c index 3eba27e..331bd725 100644 --- a/sys/dev/usb/controller/usb_controller.c +++ b/sys/dev/usb/controller/usb_controller.c @@ -133,7 +133,7 @@ DRIVER_MODULE(usbus, xhci, usb_driver, usb_devclass, 0, 0); /* Device Only Drivers */ DRIVER_MODULE(usbus, at91_udp, usb_driver, usb_devclass, 0, 0); DRIVER_MODULE(usbus, musbotg, usb_driver, usb_devclass, 0, 0); -DRIVER_MODULE(usbus, uss820, usb_driver, usb_devclass, 0, 0); +DRIVER_MODULE(usbus, uss820dci, usb_driver, usb_devclass, 0, 0); DRIVER_MODULE(usbus, octusb, usb_driver, usb_devclass, 0, 0); /* Dual Mode Drivers */ diff --git a/sys/dev/usb/controller/uss820dci_atmelarm.c b/sys/dev/usb/controller/uss820dci_atmelarm.c index 7fd83a2..49b2b1a 100644 --- a/sys/dev/usb/controller/uss820dci_atmelarm.c +++ b/sys/dev/usb/controller/uss820dci_atmelarm.c @@ -77,15 +77,15 @@ static device_method_t uss820dci_methods[] = { }; static driver_t uss820dci_driver = { - .name = "uss820", + .name = "uss820dci", .methods = uss820dci_methods, .size = sizeof(struct uss820dci_softc), }; static devclass_t uss820dci_devclass; -DRIVER_MODULE(uss820, atmelarm, uss820dci_driver, uss820dci_devclass, 0, 0); -MODULE_DEPEND(uss820, usb, 1, 1, 1); +DRIVER_MODULE(uss820dci, atmelarm, uss820dci_driver, uss820dci_devclass, 0, 0); +MODULE_DEPEND(uss820dci, usb, 1, 1, 1); static const char *const uss820_desc = "USS820 USB Device Controller"; |