summaryrefslogtreecommitdiff
path: root/hw/kdrive/r128/r128stub.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-11-02 09:27:36 +0000
committerEric Anholt <anholt@freebsd.org>2003-11-02 09:27:36 +0000
commite3e6fa3e33822b64bb6c7f7462677bcb18bed35d (patch)
tree944c6494063ed79132fb06f5612f33ccb75e4a31 /hw/kdrive/r128/r128stub.c
parentfe28039ff4c3c9d86df775e2b177370f7e286318 (diff)
Fix fill/copyarea of r128 by setting the scissor registers in setup, asxfixes_2_damage_done
XFree86 does on engine init. Add another PCI ID to r128stub.c.
Diffstat (limited to 'hw/kdrive/r128/r128stub.c')
-rw-r--r--hw/kdrive/r128/r128stub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/kdrive/r128/r128stub.c b/hw/kdrive/r128/r128stub.c
index 674625f93..30dc32c66 100644
--- a/hw/kdrive/r128/r128stub.c
+++ b/hw/kdrive/r128/r128stub.c
@@ -35,6 +35,8 @@ InitCard (char *name)
if (LinuxFindPci (0x1002, 0x4c46, 0, &attr))
KdCardInfoAdd (&r128Funcs, &attr, 0);
+ else if (LinuxFindPci (0x1002, 0x5046, 0, &attr))
+ KdCardInfoAdd (&r128Funcs, &attr, 0);
}
void