VLB computer needs to embed PCI support in kernel in order to run aic7xxx.o ?!?

EFT.Eric Devolder eric.devolder at eft.be
Thu Dec 31 06:39:55 PST 1998


Hello,

I was getting very confused since I've installed linux (2.0.36) on an
old 486 VLB-bus based computer, with an old 2840 SCSI (VLB) adapter.
Everything works fine until I try to compile a new kernel. As the engine
is not PCI, I removed PCI support from kernel. Then I follow the
procedure, and I make an new ramdisk image (initrd) with the freshly
compiled module, aka aic7xxx.o .
Then I had the (bad) surprise when I rebooted on the new kernel, because
the module could not be loaded. It could not resolve two references: 
pcibios_read_config_byte() and pcibios_write_config_byte().

Of course, in my case, these functions (called in aic7xxx_register() of
module ) are not used. But they need to be linked.
A workaround for this is to add PCI support when building the kernel (it
should be documented however).

I think it would be a good idea to solve this problem, because it may
become confusing for kernel building (I have to include PCI support,
although I really don't need this code part; however, it grows up my
kernel code!).

Probably the fast way would be to redefine these function in the module,
as dummy functions, or whatever. 

anyone an idea ?


To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message



More information about the aic7xxx mailing list