Skip to contentSkip to conversation

2.5.56 aha1542 driver

DISCUSSION Russell Coker 2 participants 2 messages Jan 11, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

If you have CONFIG_SCSI_AHA1542 enabled but don't have ISA PNP enabled then the kernel won't compile:
drivers/scsi/aha1542.c: In function `aha1542_detect':
drivers/scsi/aha1542.c:1152: warning: implicit declaration of function `isapnp_find_dev'
drivers/scsi/aha1542.c:1153: warning: assignment makes pointer from integer without a cast
drivers/scsi/aha1542.c:1160: structure has no member named prepare' drivers/scsi/aha1542.c:1168: structure has no member named activate' make[2]: *** [drivers/scsi/aha1542.o] Error 1

In 2.4.x kernels you could compile it with such options. Ideally in 2.5.x it would still be possible to compile such a configuration, but it would be OK if the kernel configuration refused to allow AHA1542 to be supported without ISAPNP.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
#1 lore raw
Quoted 4 lines · Russell Coker

In 2.4.x kernels you could compile it with such options. Ideally in 2.5.x it would still be possible to compile such a configuration, but it would be OK if the kernel configuration refused to allow AHA1542 to be supported without ISAPNP.

The real problem is that the driver hasn't been updated to the new pnp layer that got introduced lately without updating most of the pnp-capable drivers..