summaryrefslogtreecommitdiff
path: root/sys/dev/pci/tgareg.h
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-03-18 04:37:22 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-03-18 04:37:22 +0000
commitfed835890b5b4934a8011286e8a0ced955ca2ca7 (patch)
tree1749629de87784e2b7e035cc46675a43e27562e7 /sys/dev/pci/tgareg.h
parent6dc1bedf87bfac8d15c8428b44c4f4d13643a16d (diff)
New TGA driver for alpha. Takes advantage of rasops code.
This now gives a working console on alpha when using TGA. Code from NetBSD.
Diffstat (limited to 'sys/dev/pci/tgareg.h')
-rw-r--r--sys/dev/pci/tgareg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/tgareg.h b/sys/dev/pci/tgareg.h
index 33699c1e3b1..9dc7ff8132e 100644
--- a/sys/dev/pci/tgareg.h
+++ b/sys/dev/pci/tgareg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tgareg.h,v 1.3 2000/10/14 18:04:07 aaron Exp $ */
+/* $OpenBSD: tgareg.h,v 1.4 2001/03/18 04:37:21 nate Exp $ */
/* $NetBSD: tgareg.h,v 1.3 2000/03/04 10:28:00 elric Exp $ */
/*
@@ -46,6 +46,8 @@
#define TGA_MEM_ALTROM 0x0000000 /* 0MB -- Alternate ROM space */
#define TGA2_MEM_EXTDEV 0x0000000 /* 0MB -- External Device Access */
#define TGA_MEM_CREGS 0x0100000 /* 1MB -- Core Registers */
+#define TGA_CREGS_SIZE 0x0100000 /* Core registers occupy 1MB */
+#define TGA_CREGS_ALIAS 0x0000400 /* Register copies every 1kB */
#define TGA2_MEM_CLOCK 0x0060000 /* TGA2 Clock access */
#define TGA2_MEM_RAMDAC 0x0080000 /* TGA2 RAMDAC access */