summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/storage
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-03-02 05:37:05 +0000
committerthompsa <thompsa@FreeBSD.org>2009-03-02 05:37:05 +0000
commit9e91847c9e6e7aa453de1b4e8105de8356a58ec9 (patch)
treec25b21c438a6bfae8a28f00336f6daa59d35074b /sys/dev/usb/storage
parent2719e794c06a3a9aca8bd6446633d90efd96e6d5 (diff)
downloadFreeBSD-src-9e91847c9e6e7aa453de1b4e8105de8356a58ec9.zip
FreeBSD-src-9e91847c9e6e7aa453de1b4e8105de8356a58ec9.tar.gz
Rename the ushub device class back to uhub as it was in the old usb stack,
moused(8) looks for "uhub/ums" to decide if needs to load the module. Reported by: Garrett Cooper
Diffstat (limited to 'sys/dev/usb/storage')
-rw-r--r--sys/dev/usb/storage/umass.c2
-rw-r--r--sys/dev/usb/storage/urio.c2
-rw-r--r--sys/dev/usb/storage/ustorage_fs.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/storage/umass.c b/sys/dev/usb/storage/umass.c
index 244634e..8a80300 100644
--- a/sys/dev/usb/storage/umass.c
+++ b/sys/dev/usb/storage/umass.c
@@ -1281,7 +1281,7 @@ static driver_t umass_driver = {
.size = sizeof(struct umass_softc),
};
-DRIVER_MODULE(umass, ushub, umass_driver, umass_devclass, NULL, 0);
+DRIVER_MODULE(umass, uhub, umass_driver, umass_devclass, NULL, 0);
MODULE_DEPEND(umass, usb, 1, 1, 1);
MODULE_DEPEND(umass, cam, 1, 1, 1);
diff --git a/sys/dev/usb/storage/urio.c b/sys/dev/usb/storage/urio.c
index 278a952..e87a7cd 100644
--- a/sys/dev/usb/storage/urio.c
+++ b/sys/dev/usb/storage/urio.c
@@ -183,7 +183,7 @@ static driver_t urio_driver = {
.size = sizeof(struct urio_softc),
};
-DRIVER_MODULE(urio, ushub, urio_driver, urio_devclass, NULL, 0);
+DRIVER_MODULE(urio, uhub, urio_driver, urio_devclass, NULL, 0);
MODULE_DEPEND(urio, usb, 1, 1, 1);
static int
diff --git a/sys/dev/usb/storage/ustorage_fs.c b/sys/dev/usb/storage/ustorage_fs.c
index 2eec249..e119232 100644
--- a/sys/dev/usb/storage/ustorage_fs.c
+++ b/sys/dev/usb/storage/ustorage_fs.c
@@ -229,7 +229,7 @@ static driver_t ustorage_fs_driver = {
static devclass_t ustorage_fs_devclass;
-DRIVER_MODULE(ustorage_fs, ushub, ustorage_fs_driver, ustorage_fs_devclass, NULL, 0);
+DRIVER_MODULE(ustorage_fs, uhub, ustorage_fs_driver, ustorage_fs_devclass, NULL, 0);
MODULE_VERSION(ustorage_fs, 0);
MODULE_DEPEND(ustorage_fs, usb, 1, 1, 1);
OpenPOWER on IntegriCloud