[OpenBIOS] [PATCH] Fix up LANCE ethernet DMA mapping under Solaris 8 on SPARC32.

Blue Swirl blauwirbel at gmail.com
Mon Apr 25 20:11:30 CEST 2011


On Mon, Apr 25, 2011 at 7:48 PM, Mark Cave-Ayland
<mark.cave-ayland at 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 at 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.



More information about the OpenBIOS mailing list