Subject: RE: Ideas about the cdevsw/bdevsw structs.
To: Anders Magnusson <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 05/16/1999 09:40:21
> All major numbers are kept in an include file; machine/conf.h
> for example. [..]
> config(8) is changed to include and use this defines in swapnetbsd.c
> instead of getting the majors out of the "files" file. No need to
> duplicate info :-)
This doesn't work out for third-party stuff.
There needs to be a "files" file anyway, so better only declare it there.
Second, lets add a keyword to config to let it add an arbitrary "files" file
as if it was included at the end of "arch/$ARCH/conf/files.$ARCH".
This way third party stuff wouldn't need to patch anything in the kernel
source, just add a new subdirectory to sys/ and a few entries to the config