Subject: in ioconf.c generation...
To: NetBSD Kernel Technical Discussion <tech-kern@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: tech-kern
Date: 10/24/2003 13:27:17
I was curious,
Is there a reason that, in ioconf.c as generated by configure(8),
we generate loads of
static const struct cfparent pspecN = {
"bus", "dev", FLAGS
};
instead of just generating a single
static const struct cfparent pspec[] = {
{ "bus", "dev", FLAGS },
...
};
[ I was just going through the symbol table and noticed variables pspec0
thru pspec46. I'm just curious as to what's happening here.]
--*greywolf;
--
NetBSD: Someday, we won't burn your toast.