Fix up LANCE ethernet DMA mapping under Solaris 8 on SPARC32.
commit620c659dc9b04ec683338458e17a4dbda51d66b9
authormcayland <mcayland@f158a5a8-5612-0410-a976-696ce0be7e32>
Wed, 27 Apr 2011 19:20:10 +0000 (27 19:20 +0000)
committermcayland <mcayland@f158a5a8-5612-0410-a976-696ce0be7e32>
Wed, 27 Apr 2011 19:20:10 +0000 (27 19:20 +0000)
tree45132779ead8d59c19dc9ac31dac0e14bfd9e5e8
parent365d5cb32071f9c23ac6720a752a4281115a6ab3
Fix up LANCE ethernet DMA mapping under Solaris 8 on SPARC32.

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>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@1037 f158a5a8-5612-0410-a976-696ce0be7e32
config/examples/sparc32_config.xml
drivers/sbus.c