cb0064c67c
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. |
||
---|---|---|
bin | ||
distrib | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
sbin | ||
share | ||
sys | ||
usr.bin | ||
usr.sbin | ||
Makefile |