PERFORCE change 155314 for review

Hans Petter Selasky hselasky at FreeBSD.org
Sat Dec 27 01:44:12 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=155314

Change 155314 by hselasky at hselasky_laptop001 on 2008/12/27 09:43:56

	
	Print out disconnection message.
	
	PR:	usb/129964	

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb2/core/usb2_device.c#43 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb2/core/usb2_device.c#43 (text+ko) ====

@@ -1697,6 +1697,11 @@
 
 	bus = udev->bus;
 
+	printf("ugen%u.%u: <%s> at %s (disconnected)\n",
+	    device_get_unit(bus->bdev),
+	    udev->device_index, udev->manufacturer,
+	    device_get_nameunit(bus->bdev));
+
 	/*
 	 * Destroy UGEN symlink, if any
 	 */


More information about the p4-projects mailing list