Reorder initialization sequence of devclasses.
commit0b9823be9c3ab51c814b9bec58430451b06bac8c
authorSimon Schubert <corecode@dragonflybsd.org>
Tue, 31 Jul 2007 20:47:14 +0000 (31 20:47 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Tue, 31 Jul 2007 20:47:14 +0000 (31 20:47 +0000)
treea32e61674e5fa40dded741c620955188c4ede417
parent31a163d211360bd34917b86efeec3dc4cb5efd5b
Reorder initialization sequence of devclasses.

This fixes a panic triggered by the use of the devclass of a driver
during the attachment of this driver.

Reported-by: Wesley Hearn <wesley.hearn@gmail.com>
Reviewed-by: dillon
sys/kern/subr_bus.c