Date: Mon, 19 Dec 2016 18:32:26 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r310283 - stable/9/sys/dev/usb Message-ID: <201612191832.uBJIWQIR011534@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Mon Dec 19 18:32:26 2016 New Revision: 310283 URL: https://svnweb.freebsd.org/changeset/base/310283 Log: MFC r307902: Make the USB attach strings in dmesg include product name. Modified: stable/9/sys/dev/usb/usb_device.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/dev/usb/usb_device.c ============================================================================== --- stable/9/sys/dev/usb/usb_device.c Mon Dec 19 18:31:22 2016 (r310282) +++ stable/9/sys/dev/usb/usb_device.c Mon Dec 19 18:32:26 2016 (r310283) @@ -1904,8 +1904,8 @@ config_done: udev->ugen_symlink = usb_alloc_symlink(udev->ugen_name); /* Announce device */ - printf("%s: <%s> at %s\n", udev->ugen_name, - usb_get_manufacturer(udev), + printf("%s: <%s %s> at %s\n", udev->ugen_name, + usb_get_manufacturer(udev), usb_get_product(udev), device_get_nameunit(udev->bus->bdev)); #endif @@ -2111,8 +2111,9 @@ usb_free_device(struct usb_device *udev, #if USB_HAVE_UGEN if (!rebooting) { - printf("%s: <%s> at %s (disconnected)\n", udev->ugen_name, - usb_get_manufacturer(udev), device_get_nameunit(bus->bdev)); + printf("%s: <%s %s> at %s (disconnected)\n", udev->ugen_name, + usb_get_manufacturer(udev), usb_get_product(udev), + device_get_nameunit(bus->bdev)); } /* Destroy UGEN symlink, if any */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612191832.uBJIWQIR011534>