diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2012-12-04 10:42:06 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2012-12-04 10:42:06 +0000 |
commit | d6cd66921e4dc4c3a682d3fee2043db89ef05f46 (patch) | |
tree | d1e3f5da78dc4380edb832e5b73855189374619f /sys/dev/pci/agpreg.h | |
parent | 7b181098c490d2c366a02e6d54d29e83bc995bd2 (diff) |
Add support for Uninorth AGP bridges found in most if not all the macppc
machines with a G3 or G4 microprocessor. It would not be difficult to add
support for U3 bridges found in G5 powered macppc to this driver but I
don't have such hardware.
Diffstat (limited to 'sys/dev/pci/agpreg.h')
-rw-r--r-- | sys/dev/pci/agpreg.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/dev/pci/agpreg.h b/sys/dev/pci/agpreg.h index e5d6b238d42..67f959e849e 100644 --- a/sys/dev/pci/agpreg.h +++ b/sys/dev/pci/agpreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: agpreg.h,v 1.15 2011/10/24 15:42:33 oga Exp $ */ +/* $OpenBSD: agpreg.h,v 1.16 2012/12/04 10:42:04 mpi Exp $ */ /* $NetBSD: agpreg.h,v 1.1 2001/09/10 10:01:02 fvdl Exp $ */ /*- @@ -111,6 +111,17 @@ #define AGP_SIS_TLBFLUSH 0x98 /* + * Config offsets for Apple UniNorth & U3 AGP chipsets. + */ +#define AGP_APPLE_ATTBASE 0x8c +#define AGP_APPLE_APBASE 0x90 +#define AGP_APPLE_GARTCTRL 0x94 + +#define AGP_APPLE_GART_INVALIDATE 0x00001 +#define AGP_APPLE_GART_ENABLE 0x00100 +#define AGP_APPLE_GART_2XRESET 0x10000 + +/* * Config offsets for Ali AGP chipsets. */ #define AGP_ALI_AGPCTRL 0xb8 |