Skip to contentSkip to conversation

build error with aic79xx on 2.4

DISCUSSION Jeffrey W. Baker 2 participants 2 messages Jun 5, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

The latest aic79xx doesn't build in 2.4.21-rc3 because of Werror and this warning:

aic79xx_osm_pci.c:278: warning: `ahd_linux_pci_reserve_mem_region' defined but not used

That seemed harmless, so I removed Werror. I'd try -rc7 but the x86-64.org patches don't work against that kernel.

-jwb

#1 lore raw
Quoted 8 lines

The latest aic79xx doesn't build in 2.4.21-rc3 because of Werror and this warning:

aic79xx_osm_pci.c:278: warning: `ahd_linux_pci_reserve_mem_region' defined but not used

That seemed harmless, so I removed Werror. I'd try -rc7 but the x86-64.org patches don't work against that kernel.

It points to a bug in that memory mapped I/O is not enabled for ia64, alpha, or mips, even though these platforms should support it. I don't believe that the MMAPIO define is required for 2.4.X or 2.5.X kernels now since the PCI support files are only compiled in if CONFIG_PCI is enabled and any PCI device should be able to attempt to do memio if the appropriate BAR is setup.

I've removed the MMAPIO ifdefs locally and will submit an updated driver soon.

--
Justin