macallan
8775ed09b7
explicitly set and clear the backlight on bit, just in case someone messes
...
with it while we're not looking
2010-11-15 23:19:33 +00:00
uebayasi
8184d5dc03
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
...
some other constants. These are provided by sys/param.h now.
2010-11-13 13:51:57 +00:00
macallan
895c84f438
use WSDISPLAYIO_PARAM_BACKLIGHT as a switch and WSDISPLAYIO_PARAM_BRIGHTNESS
...
for backlight level instead of following radeonfb
TODO: adapt radeonfb and powerd scripts
2010-10-07 20:39:54 +00:00
macallan
672cabf514
use the drawing engine to draw characters so we don't have to sync after each
...
command and don't need to map the framebuffer anymore
2010-09-30 03:16:51 +00:00
macallan
491cb04e7e
support backlight control via wsconsctl
2010-09-14 02:11:06 +00:00
macallan
b10b3a9713
add backlight control via PMF
...
TODO: support wsconsctl
2010-09-09 01:22:10 +00:00
jmmv
b478d8712d
Recognize PCI_PRODUCT_ATI_RAGEGLPCI. Works on a PowerMac G3 B&W running
...
NetBSD/macppc.
2009-10-01 19:02:27 +00:00
macallan
eccd210ff3
use vcons_replay_msgbuf() when appropriate
2009-08-20 02:40:57 +00:00
elad
105d9a093d
Replace curlwp->l_cred with kauth_cred_get().
...
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/05/05/msg005038.html
2009-05-06 18:41:54 +00:00
yamt
b1fea83762
remove extra semicolons.
2009-01-03 03:43:21 +00:00
jmcneill
7cc899257c
Match on Rage Mobility M3 (AGP)
2008-08-25 23:09:23 +00:00
macallan
55bd0f3dd6
remove test for VGA subclass, also match PCI_PRODUCT_ATI_RAGE3AGP4XT
...
this makes r128fb work on 2nd generation iMacs
From Brett Slager
2008-05-30 19:56:14 +00:00
macallan
346d21c906
nuke clause 3
2008-05-08 01:43:17 +00:00
macallan
ee03e6b4fb
get rid of the last #ifdef macppc and use PCI_MAGIC_IO_RANGE to select
...
at which offset we mmap PCI IO space
2008-02-27 23:59:37 +00:00
macallan
9d020f5bdb
make this compile on sparc64
2007-11-23 20:12:54 +00:00
macallan
2e65015ca3
add preliminary driver for ATI Rage 128 graphics controllers
...
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits
2007-11-07 19:09:09 +00:00