Subject: Re: CVS commit:
To: Jason Thorpe <thorpej@shagadelic.org>
From: Michael Lorenz <macallan@netbsd.org>
List: source-changes
Date: 12/08/2005 15:24:25
--Signature_Thu__8_Dec_2005_15_24_25_-0500_WtLF9unHkG_jo1zv
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> >>> Log Message:
> >>> Don't call vgaHWSave() or vgaHWRestore() on PowerPC, this allows
> >>> the driver to
> >>> work on macppc.
> >>
> >> But seems totally wrong for PowerPC systems that use VGA the same
> >> way a PC would.
> >
> > True. On the other hand all the other drivers do just that.
> > Are there any PowerPC systems that run a VGA like a PC does? My
> > PowerStack doesn't, the firmware uses OF-typical 8 bit graphics.
>=20
> BeBox?

Ah, didn't know about that one.

> Anyway, making assumptions based on processor architecture is bogus.

True, but...
- are we likely to encounter a Rage 128 in a BeBox at all?=20
- the other drivers do the same, basically to tell Macs from PCs
- I think a compile time option is good enough ( and it can be recycled
  for other drivers ), should probably go into a Makefile and pass
  -DNEEDS_VGAHW or something like that based on which port we're
  running on. The problem isn't about running text mode, it's about
  being able to access the VGA registers.

have fun
Michael

--Signature_Thu__8_Dec_2005_15_24_25_-0500_WtLF9unHkG_jo1zv
Content-Type: application/pgp-signature

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

iQEVAwUBQ5iWecpnzkX8Yg2nAQK3dgf+Nn6oSD4fKXlA5F6qAaWdIGm1lEWZXKkO
WhoqvE5dXhgZYGWuT2qkwt1TJjORTGy59YkURBGf9S/mosKFcrBqiE4V4v8qlcyg
6YhSeHngifIjCl65NL5OXj2l/+FaEm85IS1BFHS3hx5tq3s4MelYXUZQebqewRJ0
87IUXM523iQs35fN0qEGh776nk6+j4aHfiDEfgIS82WS9Ta0fJD2ITnC53f70xlw
V2eeB0xxi4mkFiRHMjU4L7Mae4SDpQvjki6hqx6VkBY2YZqijgvfCZ6EQh2x3/rf
Un41L8DkYfALcxxj/eMEKZhubG1KshtJ2JIlONQxmhEaGeQSTrDrGg==
=JCxc
-----END PGP SIGNATURE-----

--Signature_Thu__8_Dec_2005_15_24_25_-0500_WtLF9unHkG_jo1zv--