Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting the drivers ready for new config. Clean up namespace, remove several instances of global arrays. Instead, use a softc to carry state around. Where possible, pass a pointer to the softc rather than a unit number. Pointers to hardware and software constructs are now stored per port in each instance of the softc (one softc per board) rather than indexed by minor number.
This commit is contained in:
parent
41cf6f071f
commit
deb00c27b3
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user