Subject: re: dumb config(5) question To: Bucky Katz <bucky@picovex.com> From: matthew green <mrg@eterna.com.au> List: tech-kern Date: 09/07/2007 14:15:35
one way this has been done in the past is to include the header
file that config(8) generates for the device and only include the
code you need #if N<dev> > 0.
eg, check sys/dev/ld.c:NRND.
.mrg.