Skip to contentSkip to conversation

How to replace bus_to_virt()?

DISCUSSION Pete Zaitcev 1 participant 1 message May 1, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Stefan Richter

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