edit aha152x.c, add
#define address REAL_ADDRESS (for me it's D400)
#define IRQ REAL_IRQ (for me, again, 10)
Or, if you do compile the scsi support (for Linux) as a module, you don't
have to change the source code at all. Just put the following in your
/etc/conf.modules:
options aha152x aha152x=0x140,9,7,0,1,1
alias scsi_hostadapter aha152x
Then, when you load the module with modprobe, the settings are set on the fly.
(Your settings will vary; this parameter line is described in the source file,
aha152x.c)
The second line is for kerneld --- with that you don't have to modprobe at all,
the module will be loaded automagically when you access the device. (But,
I have had weird kernel errors about memory allocation after the scsi mods
have loaded and unloaded a few times.)
-matt m.
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com