svn commit: r269923 - stable/9/sys/dev/usb/controller

Hans Petter Selasky hselasky at FreeBSD.org
Wed Aug 13 08:24:49 UTC 2014


Author: hselasky
Date: Wed Aug 13 08:24:48 2014
New Revision: 269923
URL: http://svnweb.freebsd.org/changeset/base/269923

Log:
  MFC r269565:
  Rename driver name a bit to avoid unit number confusion in dmesg.

Modified:
  stable/9/sys/dev/usb/controller/usb_controller.c
  stable/9/sys/dev/usb/controller/uss820dci_atmelarm.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/usb/controller/usb_controller.c
==============================================================================
--- stable/9/sys/dev/usb/controller/usb_controller.c	Wed Aug 13 08:21:52 2014	(r269922)
+++ stable/9/sys/dev/usb/controller/usb_controller.c	Wed Aug 13 08:24:48 2014	(r269923)
@@ -126,7 +126,7 @@ DRIVER_MODULE(usbus, xhci, usb_driver, u
 /* 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);
 
 /*------------------------------------------------------------------------*
  *	usb_probe

Modified: stable/9/sys/dev/usb/controller/uss820dci_atmelarm.c
==============================================================================
--- stable/9/sys/dev/usb/controller/uss820dci_atmelarm.c	Wed Aug 13 08:21:52 2014	(r269922)
+++ stable/9/sys/dev/usb/controller/uss820dci_atmelarm.c	Wed Aug 13 08:24:48 2014	(r269923)
@@ -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";
 


More information about the svn-src-stable mailing list