Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Print devinfo on the same line as locators, and ...



details:   https://anonhg.NetBSD.org/src/rev/1bdbdbdc6c92
branches:  trunk
changeset: 746932:1bdbdbdc6c92
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 23 19:03:18 2009 +0000

description:
Print devinfo on the same line as locators, and make the transfer mode
output aprint_verbose

diffstat:

 sys/dev/usb/umass.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r cc9110505008 -r 1bdbdbdc6c92 sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c       Sun Aug 23 18:43:33 2009 +0000
+++ b/sys/dev/usb/umass.c       Sun Aug 23 19:03:18 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass.c,v 1.131 2009/03/17 19:12:17 dyoung Exp $       */
+/*     $NetBSD: umass.c,v 1.132 2009/08/23 19:03:18 jmcneill Exp $     */
 
 /*
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.131 2009/03/17 19:12:17 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.132 2009/08/23 19:03:18 jmcneill Exp $");
 
 #include "atapibus.h"
 #include "scsibus.h"
@@ -312,8 +312,7 @@
 
        devinfop = usbd_devinfo_alloc(uaa->device, 0);
        aprint_naive("\n");
-       aprint_normal("\n");
-       aprint_normal_dev(self, "%s\n", devinfop);
+       aprint_normal(": %s\n", devinfop);
        usbd_devinfo_free(devinfop);
 
        sc->sc_udev = uaa->device;
@@ -418,7 +417,7 @@
                break;
        }
 
-       aprint_normal_dev(self, "using %s over %s\n", sCommand, sWire);
+       aprint_verbose_dev(self, "using %s over %s\n", sCommand, sWire);
 
        if (quirk != NULL && quirk->uq_init != NULL) {
                err = (*quirk->uq_init)(sc);



Home | Main Index | Thread Index | Old Index