All of lore.kernel.org
 help / color / mirror / Atom feed
* BusLogic: MAX_DMA_ADDRESS
@ 2004-11-17 15:26 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2004-11-17 15:26 UTC (permalink / raw)
  To: linux-scsi

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-17 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-17 15:26 BusLogic: MAX_DMA_ADDRESS Magnus Damm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.