From: drew@cs.colorado.edu (Drew Eckhardt) Subject: SCSI drivers for .95 available, configuration Date: Mon, 16 Mar 1992 02:51:39 GMT
This weekend, I sat down and patched the SCSI drivers into .95.
They pretty much drop right in - trivial changes are made to
ll_rw_blk.c (3 lines), fs.h (1 macro + a few comments),
a line in main.c, and copy the SCSI files in.
There are a few larger changes made - namely to config.h, keyboard.S,
main.c, and kernel/blk_drv/Makefile. I decided that the current configuration
scheme (Well, lack of real configuration, and #defining KBD whatever
in keyboard.S, which really should be done in config.h) needed changing
in a drastic sort of way.
config.h changed - so that there are a number of CONFIG options supported.
KEYBOARD - set this equal to KBD_US, KBD_FINNISH, whatever,
CONFIG_BLK_DEV_xxx
where xxx is a device name
This "enables" the choosen block device, so that it is compiled into
the kernel code.
CONFIG_CHR_DEV_xxx
Enables the character device xxx
Etc. There is also a CONFIG_DISTRIBUTION option, which
basically enables all devices, US keyboard, and whatever will be
the "most common" settings.
The SCSI devices are setup to respect this configuration information -
so when SCSI makes the distribution kernel, non-SCSI people can
simply leave CONFIG_BLK_DEV_SD and CONFIG_BLK_DEV_ST undefined.
None of the SCSI code will be compiled, or linked into the kernel.
Compiled or linked : You heard it. I've come up with some heinous
looking Makefile entries involving cpp, sed, etc, and have set it
up so the Makefiles share the same configuration file as
the C and assembly source.
Take a look at the source if you're interested,
it's all in scsi-.95.tar.Z.