tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cleanup some inconsistency in config(8)



There is some annoying abuse of autoconf interface locators
in files.* files, where pseudo-devices define them just
to get a "cfdriver" definition issued by config(8). There
is some code in config(8) causing that, but it doesn't make
much sense because a "cfdriver" definition is needed to make
use of eg. dynamic creation of pseudo-devices, which is unrelated
to the ability to attach children. An example is vnd(4).

I suggest to add a new keyword to the config(5) language,
"defpseudodev", to be used like "defpseudo", except that
it always creates the "device_t" related glue, without
the need to define dummy locators.
As a further step, the locator syntax could be removed
for classic "devpseudo" pseudo-devices, but I'd wait
with that until after the NetBSD-5 branch.

Does this sound reasonable?

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index