Hi Richard and Keith,
I've been thinking about the relationship between devfs and modutils.
I really don't like how spread out all the information is becoming.
devfs.conf:
LOOKUP tts MODLOAD
modules.conf:
alias /dev/tts serial
serial.c:
serial_driver.name = "tts/%d";
What I think would clean things up _significantly_ is if each module
could provide it's own dependencies, so that a
depmod serial.o
and (something like this)
serial.c:
serial_driver.name = "tts/%d";
EXPORT_DEV("tts");
defvs.conf:
LOOKUP .* MODLOAD
would create everything needed. All the information would be
derived from _one_ source.
Thoughts?
-Jim
|