Subject: Re: support for PGX32
To: Michael-John Turner <mj@turner.org.za>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 07/19/2005 10:53:18
--Signature_Tue__19_Jul_2005_10_53_18_-0400_s41Z3vErnQY97+Ii
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> Aha, I didn't know that we needed a console driver for XFree86 to work
> - I assumed that if the card had OFW (and could be seen by the
> OpenBoot PROM as the console) and was supported by XFree86, everything
> would be OK.

XFree tries to mmap the graphics board's aperture, registers etc. via
/dev/ttyE*, at least for PCI and AGP ones - without a wsdisplay sitting
on it there wouldn't be such a device. For SBus and UPA boards it's
using something much more sane - the good old SunOSish /dev/fb*.
I guess when I have too much time some day ( yeah, how likely is that? )
I'll hack XFree to use /dev/fb* for PCI devices too, adding a fb device
to any display driver is rather trivial. All we need is a device entry
per board that supports a handful ioctl()s to identify the board, read
some parameters ( like ranges and so on ) and mmap() it.

have fun
Michael

--Signature_Tue__19_Jul_2005_10_53_18_-0400_s41Z3vErnQY97+Ii
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQt0T3spnzkX8Yg2nAQJ+DAgArASFTEMkSfRXRUiTbk8sj+1zhENrUAAS
4bTOb9u+tkc2EibHK5Pxa52vhq/lX11ZPlw2oGdzsBR7Ibk4+EEvg5QSJkNFm5BB
qKXbYwlsOXSHs218eTh9GjFy1xix3xtbzS1+1LVM3H2GyRMYb45DYQi/iiW9LR6+
UNd87v/RUvdv45Tpm/L0kaE/HDp7lIW2GKdnmQQqwUyuVZjpuQo2pmMfDHjrv0mx
3Ok+i3IaJKzt1ol6grhZMmvTg+6/Psxd7AC+QVaBLIo6AzA/90jOoPHO6oYpF57Z
6wo3XsgBRLB08N8IENU+d32OMyhfOeRFSxXP0snrv3kp5Zhserbx3w==
=hq2W
-----END PGP SIGNATURE-----

--Signature_Tue__19_Jul_2005_10_53_18_-0400_s41Z3vErnQY97+Ii--