diff options
author | anholt <anholt@FreeBSD.org> | 2002-09-12 04:23:18 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2002-09-12 04:23:18 +0000 |
commit | 20e15ff61d8946fded44787e99633937ae069043 (patch) | |
tree | 282c4189307601bf27244cd8bbcc1e479c2d7708 /sys/dev/agp/agpreg.h | |
parent | 23faaeb316f2c857606ee713dfa149a835aa0500 (diff) | |
download | FreeBSD-src-20e15ff61d8946fded44787e99633937ae069043.zip FreeBSD-src-20e15ff61d8946fded44787e99633937ae069043.tar.gz |
Add AGP support for Intel i830M and i845 thanks to patches from moto kawasaki
<kawasaki@mbg.sphere.ne.jp> and David Dawes <dawes@XFree86.org>.
Diffstat (limited to 'sys/dev/agp/agpreg.h')
-rw-r--r-- | sys/dev/agp/agpreg.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/dev/agp/agpreg.h b/sys/dev/agp/agpreg.h index 13f08e3..36a11bc 100644 --- a/sys/dev/agp/agpreg.h +++ b/sys/dev/agp/agpreg.h @@ -160,5 +160,20 @@ #define AGP_I810_DRT_UNPOPULATED 0x00 #define AGP_I810_DRT_POPULATED 0x01 #define AGP_I810_GTT 0x10000 + +/* + * Config registers for i830MG device 0 + */ +#define AGP_I830_GCC1 0x52 +#define AGP_I830_GCC1_DEV2 0x08 +#define AGP_I830_GCC1_DEV2_ENABLED 0x00 +#define AGP_I830_GCC1_DEV2_DISABLED 0x08 +#define AGP_I830_GCC1_GMS 0x70 +#define AGP_I830_GCC1_GMS_STOLEN_512 0x20 +#define AGP_I830_GCC1_GMS_STOLEN_1024 0x30 +#define AGP_I830_GCC1_GMS_STOLEN_8192 0x40 +#define AGP_I830_GCC1_GMASIZE 0x01 +#define AGP_I830_GCC1_GMASIZE_64 0x01 +#define AGP_I830_GCC1_GMASIZE_128 0x00 #endif /* !_PCI_AGPREG_H_ */ |