Subject: genfb at pci
To: NetBSD port-sparc64 mailing list <port-sparc64@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc64
Date: 11/18/2007 23:21:29
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I just committed the missing bits and pieces to make genfb at pci  
work on sparc64. Basically this is a generic framebuffer console  
driver which:
- - knows nothing about the underlying hardware
- - knows nothing about any firmware
- - gets all its parameters from machine-dependent code via device  
properties ( stuff like width, height, colour depth, framebuffer  
offset )
- - allows userland to mmap() its BARs so X works with both wsfb and  
accelerated drivers
So far this has been tested on my U60 with a PGX ( and on macppc with  
various other graphics chips )
In theory this should allow us to use any OpenFirmware-supported PCI  
framebuffer as console. In real life this should be tested with  
everything we don't support so far, namely Raptor, Expert3D, any of  
the newer Radeon-based low end graphics boards ( if you have one of  
those please try radeonfb as well ), any of the more recent Wildcat- 
based boards, any Mach64-based board that for some reason causes  
trouble with machfb.
If you have one of the newer Tadpole laptops please try r128fb, it  
might just work if hacked to accept the right PCI IDs ( for lack of  
testing it only attaches to a single Rage 128 variant so far, there  
are at least 30 of them out there but I can't test with hardware I  
don't have )

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBR0EPSspnzkX8Yg2nAQIhJAgAgAB331fhJrwCJkbXHqnJhXlKbzxKvk6R
nbPIe/atWDzMO+IMto9SzK5PKdhz+n2+G6IUVnce6OrcLauBRao4cIVOOkz0YmIh
MNSaD9GXHc+JZetxARiwa6O0YD5Hgfb+nxhm1nDb+B4s8JT7cnCYps3sjhQqHeE7
JN9R/cIP/Mn8cuj693oIi0aC2UXk/1FJdVizcmNDga+oU0pV7WMA2advAY4GDf5B
68ahzOF0h/Z9xOVW6+BdiLfFuVpt9WrdidWydOxaukGpo/j6SlHPwBRkK0/SqMDP
qb4AWRYLqZ/KUzZSRJ6pewxXFeEaErMnYRwd0LFOtTt3bQU6CmiSaQ==
=LzCL
-----END PGP SIGNATURE-----