diff options
author | 2005-08-06 19:51:43 +0000 | |
---|---|---|
committer | 2005-08-06 19:51:43 +0000 | |
commit | 795d36e06e9667be9a7d980762b469d5eac5869c (patch) | |
tree | 34d0cf7c9c1765fa673b4952fc505b7f825cbe35 /lib/libc | |
parent | while checking for an aux port, if we timeout waiting for our test (diff) | |
download | wireguard-openbsd-795d36e06e9667be9a7d980762b469d5eac5869c.tar.xz wireguard-openbsd-795d36e06e9667be9a7d980762b469d5eac5869c.zip |
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 'lib/libc')
0 files changed, 0 insertions, 0 deletions