Re: How to replace bus_to_virt()?

From: Pete Zaitcev
Date: Mon May 01 2006 - 14:32:52 EST


On Sun, 30 Apr 2006 16:52:37 +0200, Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote:

> The current implementation is this: Sbp2 uses bus_to_virt() to map from
> 1394 bus addresses (which are currently identical to local host bus
> addresses) to virtual addresses. [...]

Why do you think that virtual addresses must exist? In case of highmem,
most of the system memory is not even mapped anywhere. So, there's no
possible translation. However, the SCSI stack will make requests for I/O
into those unmapped areas, if your host template allows it.

-- Pete
-
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/