mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
The kshim code abused the devclass argument to DRIVER_MODULE in some
odd ways. Instead, refactor the devclass handling to more closely
mirror what new-bus does in the kernel by having a linked list of
devclasses looked up by name and associate devices with a devclass.
Devices are now only associated with a module while probing and
attaching.
Reviewed by: imp, markj
Differential Revision: https://reviews.freebsd.org/D48409
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| umass_common.c | ||
| umass_common.h | ||
| umass_loader.c | ||