On Mon, Apr 25, 2011 at 7:48 PM, Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk wrote:
It seems that Solaris doesn't set up a DMA mapping for the LANCE DMA buffers and hence must inherit this from OpenBIOS. To make things more complicated, Solaris appears to assume that the buffers are fixed at 0xff000000 rather than detecting this information from the OpenBIOS IOMMU pagetable before switching. Mimicking this behaviour with a fixed location allows Solaris 8 to correctly use the network card under QEMU.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
Would it make any difference if IOMMU region were 16M so that the base would start at 0xff000000?
Otherwise the patch looks OK.