From 443c47f38899cfcabc518dddc1aaafef0b02a827 Mon Sep 17 00:00:00 2001 From: n_hibma Date: Mon, 21 Jun 1999 21:32:15 +0000 Subject: [PATCH] Only print the device name once, during attach (device_quiet) --- sys/dev/usb/usb_subr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index e212f2ab7ffa..8baf304ec269 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -713,6 +713,7 @@ usbd_probe_and_attach(parent, dev, port, addr) printf("%s: Device creation failed\n", USBDEVNAME(dev->bus->bdev)); return (USBD_INVAL); } + device_quiet(bdev); #endif uaa.device = dev; @@ -764,6 +765,7 @@ usbd_probe_and_attach(parent, dev, port, addr) USBDEVNAME(dev->bus->bdev)); return (USBD_NORMAL_COMPLETION); } + device_quiet(bdev); #endif } }