diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-08-06 19:51:45 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-08-06 19:51:45 +0000 |
commit | 50f81f3d5e5b5b206944aab7cf18d58adb4564ec (patch) | |
tree | f0243447d3cd295e5cb489ad664920b7e4e94953 /libexec | |
parent | 9f36dcaaddbb3cb52a01409a14c2f52efd1287d8 (diff) |
overhaul the grf driver:
- Simplify grfmv_phys() to work like grfiv_phys(), and eliminate the
second argument to both, as we don't use it anyway.
- Handle fbbase and fboff consistently throughout.
- Eliminate grfaddr() by pulling it into grfmmap(), which is the
only place it was used, previously.
- grfmap() now gets the physical address of the framebuffer from
the appropriate driver, rather than try to compute it by itself.
Be careful with aligning the base to a page address and increase
the length of the mapped region appropriately.
- Store the PA of the framebuffer in the softc. This eliminates the need
for the sc_phys callback; we can just store the PA in the grfbus attach
args, rather than a function pointer, which simplifies the code nicely.
- Disable Valkyrie interrupts on the Quadra 630
- New and improved console framebuffer initialization and autoconfig. This
resolves a great many issues, including Performa 58x interrupt handling
and offset displays on some models.
- Remove unused grf ioctls
- Some KNF and other minor things
help and ok miod@
from NetBSD
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions