Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 06:37:07 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269565 - head/sys/dev/usb/controller
Message-ID:  <53e07b93.5faa.366fa3db@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Aug  5 06:37:07 2014
New Revision: 269565
URL: http://svnweb.freebsd.org/changeset/base/269565

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

Modified:
  head/sys/dev/usb/controller/usb_controller.c
  head/sys/dev/usb/controller/uss820dci_atmelarm.c

Modified: head/sys/dev/usb/controller/usb_controller.c
==============================================================================
--- head/sys/dev/usb/controller/usb_controller.c	Tue Aug  5 06:33:59 2014	(r269564)
+++ head/sys/dev/usb/controller/usb_controller.c	Tue Aug  5 06:37:07 2014	(r269565)
@@ -130,7 +130,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);
 DRIVER_MODULE(usbus, octusb, usb_driver, usb_devclass, 0, 0);
 
 /* Dual Mode Drivers */

Modified: head/sys/dev/usb/controller/uss820dci_atmelarm.c
==============================================================================
--- head/sys/dev/usb/controller/uss820dci_atmelarm.c	Tue Aug  5 06:33:59 2014	(r269564)
+++ head/sys/dev/usb/controller/uss820dci_atmelarm.c	Tue Aug  5 06:37:07 2014	(r269565)
@@ -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";
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e07b93.5faa.366fa3db>