Problems with Adaptec 2940 as a module

Rob Coleman (rcoleman@cc.gatech.edu)
Sun, 20 Oct 1996 00:31:20 -0400 (EDT)


I have just recently taken my core file systems off of my SCSI drive,
and would like to modularize both the SCSI high- and mid-level drivers,
in addition to the low-level driver. If I modularize everything, when I
try to access a scsi device, the high- and mid-level drivers get loaded,
but the low-level driver is not. This makes the system believe that the
system supports SCSI, but doesn't have any devices. If I load the
aic7xxx.o module, it loads and initializes the driver and everything
works fine. So, it would be nice if the high-level driver could get
this loaded automatically.

I've looked at the module initialization code, but I'm not sure how to
do what I want. I don't get any errors in the logs when I first try to
access the devices, so it is not as a result of the kernel looking for
the file under the wrong name. This is all under a stock 2.1.5 kernel.

Any suggestions?

-- 
Rob Coleman               Georgia Tech            rcoleman@cc.gatech.edu