socsvn commit: r255159 - soc2013/bguan/head/sys/dev/xen/usbfront

bguan at FreeBSD.org bguan at FreeBSD.org
Thu Jul 25 13:49:49 UTC 2013


Author: bguan
Date: Thu Jul 25 13:49:48 2013
New Revision: 255159
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=255159

Log:
  debug method device_add_child() in usbfront

Modified:
  soc2013/bguan/head/sys/dev/xen/usbfront/usbfront.c

Modified: soc2013/bguan/head/sys/dev/xen/usbfront/usbfront.c
==============================================================================
--- soc2013/bguan/head/sys/dev/xen/usbfront/usbfront.c	Thu Jul 25 12:43:22 2013	(r255158)
+++ soc2013/bguan/head/sys/dev/xen/usbfront/usbfront.c	Thu Jul 25 13:49:48 2013	(r255159)
@@ -197,6 +197,7 @@
 		device_printf(dev, "XENHCI halt/start/probe failed err=%d\n", err);
 		goto error;
 	}
+	printf("[gbdebug-pvusb]device_probe_and_attach successfully.\n");
 	return (0);
 
 error:
@@ -315,4 +316,5 @@
 
 devclass_t usbfront_devclass;  
  
-DRIVER_MODULE(xusb, xenbusb_front, usbfront_driver, usbfront_devclass, 0, 0); 
+DRIVER_MODULE(xusb, xenbusb_front, usbfront_driver, usbfront_devclass, 0, 0);
+MODULE_DEPEND(xusb, usb, 1, 1, 1);


More information about the svn-soc-all mailing list