
on indirect-config busses a (permanent) softc that they could share between 'match' and 'attach' routines: Check for a new definition, __BROKEN_INDIRECT_CONFIG, and if it is _not_ defined: define match functions to take a struct cfdata * as their second argument, config_search() to take a struct cfdata * as its second argument, and config_{root,}search() to return struct cfdata *. remove 'cd_indirect' cfdriver element. remove config_scan(). Ports will define __BROKEN_INDIRECT_CONFIG until their drivers prototypes are updated to work with the new definitions, and until it is sure that their indirect-config drivers do not assume that they have a softc in their match routine.
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%