jhb 76788b459e When loading a driver that is a subclass of another driver don't set the
devclass's parent pointer if the two drivers share the same devclass.  This
can happen if the drivers use the same new-bus name.  For example, we
currently have 3 drivers that use the name "pci": the generic PCI bus
driver, the ACPI PCI bus driver, and the OpenFirmware PCI bus driver.  If
the ACPI PCI bus driver was defined as a subclass of the generic PCI bus
driver, then without this check the "pci" devclass would point to itself
as its parent and device_probe_child() would spin forever when it
encountered the first PCI device that did have a matching driver.

Reviewed by:	dfr, imp, new-bus@
2006-01-20 21:59:13 +00:00
..
2005-10-03 06:57:29 +00:00
2005-12-23 21:32:40 +00:00
2005-12-30 11:45:07 +00:00
2005-12-04 02:12:43 +00:00
2005-12-28 17:13:31 +00:00
2005-12-09 02:27:55 +00:00
2005-11-17 08:56:21 +00:00
2005-03-14 06:51:29 +00:00
2005-12-23 11:54:11 +00:00
2006-01-04 07:50:54 +00:00
2006-01-04 07:50:54 +00:00