svn commit: r274020 - head/sys/dev/usb

Hans Petter Selasky hselasky at FreeBSD.org
Mon Nov 3 09:02:10 UTC 2014


Author: hselasky
Date: Mon Nov  3 09:02:09 2014
New Revision: 274020
URL: https://svnweb.freebsd.org/changeset/base/274020

Log:
  Reduce boot verbosity.
  
  MFC:		3 days

Modified:
  head/sys/dev/usb/usb_hub.c

Modified: head/sys/dev/usb/usb_hub.c
==============================================================================
--- head/sys/dev/usb/usb_hub.c	Mon Nov  3 09:02:08 2014	(r274019)
+++ head/sys/dev/usb/usb_hub.c	Mon Nov  3 09:02:09 2014	(r274020)
@@ -1489,13 +1489,13 @@ uhub_attach(device_t dev)
 			if (usb_disable_port_power != 0 ||
 			    sc->sc_disable_port_power != 0) {
 				/* turn the power off */
-				DPRINTFN(0, "Turning port %d power off\n", portno);
+				DPRINTFN(2, "Turning port %d power off\n", portno);
 				err = usbd_req_clear_port_feature(udev, NULL,
 				    portno, UHF_PORT_POWER);
 			} else {
 #endif
 				/* turn the power on */
-				DPRINTFN(0, "Turning port %d power on\n", portno);
+				DPRINTFN(2, "Turning port %d power on\n", portno);
 				err = usbd_req_set_port_feature(udev, NULL,
 				    portno, UHF_PORT_POWER);
 #if USB_HAVE_DISABLE_ENUM


More information about the svn-src-head mailing list