PERFORCE change 123132 for review

Maxim Zhuravlev thioretic at FreeBSD.org
Sun Jul 8 14:51:01 UTC 2007


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

Change 123132 by thioretic at thioretic on 2007/07/08 14:50:51

	Detach fix.
	Plus to change 123130 desc:
	Cause newbus is now graph, a references counter (refs)
	is added to device struct. Device is deleted as soon 
	as refs	is 0.

Affected files ...

.. //depot/projects/soc2007/thioretic_gidl/kern/subr_bus.c#9 edit

Differences ...

==== //depot/projects/soc2007/thioretic_gidl/kern/subr_bus.c#9 (text+ko) ====

@@ -2940,7 +2940,7 @@
 		devclass_delete_device(dev->devclass, dev);
 
 	dev->state = DS_NOTPRESENT;
-	device_set_driver(dev, NULL);
+	//device_set_driver(dev, NULL);
 	device_set_desc(dev, NULL);
 	device_sysctl_fini(dev);
 


More information about the p4-projects mailing list