Page MenuHomeFreeBSD

stand/usb: Update for devclass being removed from DRIVER_MODULE
ClosedPublic

Authored by jhb on Fri, Jan 10, 3:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 15, 5:22 AM
Unknown Object (File)
Tue, Jan 14, 5:53 AM
Unknown Object (File)
Mon, Jan 13, 8:06 PM
Unknown Object (File)
Mon, Jan 13, 7:33 PM
Unknown Object (File)
Sun, Jan 12, 9:22 PM
Unknown Object (File)
Sun, Jan 12, 8:41 PM
Unknown Object (File)
Sun, Jan 12, 4:20 AM
Unknown Object (File)
Sat, Jan 11, 8:59 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61633
Build 58517: arc lint + arc unit