Skip to contentSkip to conversation

BusLogic: MAX_DMA_ADDRESS

DISCUSSION Magnus Damm 1 participant 1 message Nov 17, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

Hello,

The constant MAX_DMA_ADDRESS is used at two places in the code, and I believe that ">=" comparsion should be used instead of ">". Compare with other drivers that use that constant.

Also, comments say something about hardware problems related to 16MiB but the code checks against MAX_DMA_ADDRESS that could be set to something else than 16MiB on non-i386 archs.

I think the most portable solution would be to remove the entire "high_memory vs MAX_DMA_ADDRESS"-check and always enable bounce-buffers for ISA-devices and BT-445S.

Who is running a 2.6-kernel on a machine with 16MiB or less RAM and SCSI these days anyway...?

/ magnus