diff options
author | anholt <anholt@FreeBSD.org> | 2005-09-17 03:36:47 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2005-09-17 03:36:47 +0000 |
commit | 2bb9efbdc659cf3671a14d1a12e44ad84c32f08c (patch) | |
tree | cd21f1a3f2f06fc3c64959663039fa0908178a38 /sys/dev/agp/agpreg.h | |
parent | cd7e9610083fb288a1e9f23608cb1c5fa19700da (diff) | |
download | FreeBSD-src-2bb9efbdc659cf3671a14d1a12e44ad84c32f08c.zip FreeBSD-src-2bb9efbdc659cf3671a14d1a12e44ad84c32f08c.tar.gz |
Add a new AGP driver for ATI IGP chipsets. The driver is based on reading of
the Linux driver, since specs are unavailable. Many thanks to Adam Kirchhoff
for multiple useful testing cycles, and Ralf Wostrack for the final fix to get
it working.
PR: i386/75251
Submitted by: anholt
Diffstat (limited to 'sys/dev/agp/agpreg.h')
-rw-r--r-- | sys/dev/agp/agpreg.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/agp/agpreg.h b/sys/dev/agp/agpreg.h index 4b2d5b3..eb5053d 100644 --- a/sys/dev/agp/agpreg.h +++ b/sys/dev/agp/agpreg.h @@ -262,4 +262,16 @@ #define AGP_AMD64_CACHECTRL_INVGART 0x00000001 #define AGP_AMD64_CACHECTRL_PTEERR 0x00000002 +/* + * ATI IGP registers + */ +#define ATI_GART_MMADDR 0x14 +#define ATI_RS100_APSIZE 0xac +#define ATI_RS100_IG_AGPMODE 0xb0 +#define ATI_RS300_APSIZE 0xf8 +#define ATI_RS300_IG_AGPMODE 0xfc +#define ATI_GART_FEATURE_ID 0x00 +#define ATI_GART_BASE 0x04 +#define ATI_GART_CACHE_CNTRL 0x0c + #endif /* !_PCI_AGPREG_H_ */ |