Re: [PATCH] libata-sff: Don't call bmdma_stop on non DMA capablecontrollers

From: David Woodhouse
Date: Thu Jan 25 2007 - 11:26:57 EST


On Thu, 2007-01-25 at 16:22 +0000, Russell King wrote:
> The zero DMA address is absolutely and totally valid. It might not
> correspond with physical address zero on platforms.
>
> Also, DMA address zero is not the same as NULL.

This isn't actually "DMA address" in that context -- it's the I/O port
number at which the controller's BM-DMA control registers reside. But
still it can be zero.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/