summaryrefslogtreecommitdiffstats
path: root/sys/dev/agp/agpreg.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2007-01-05 22:55:19 +0000
committerjkim <jkim@FreeBSD.org>2007-01-05 22:55:19 +0000
commita5dc00daabeeaedc510b6ab9d8f00342eaeb1e28 (patch)
tree9cb2a7e91c414e1d68a871c95408e117757dabe5 /sys/dev/agp/agpreg.h
parent602b5d480d0f6eba8d1d90674be9001c8e504212 (diff)
downloadFreeBSD-src-a5dc00daabeeaedc510b6ab9d8f00342eaeb1e28.zip
FreeBSD-src-a5dc00daabeeaedc510b6ab9d8f00342eaeb1e28.tar.gz
- Clean up Aperture Access Global Enable (APEN) bit access.
- Rename confusing AGP_INTEL_I845_MCHCFG to AGP_INTEL_I845_AGPM. - Move E7205 and E7505 from i8x5 to i8x0 family. It probably worked because the actual offset is the same. In fact, all three families have the bit at the exact same place. Only differences are name and width of the registers, i.e., NBXCFG (0x50, dword), RDCR (0x51, byte), AGPM (0x51, byte), MCHCFG (0x50, word) depending on the family of the chipsets.
Diffstat (limited to 'sys/dev/agp/agpreg.h')
-rw-r--r--sys/dev/agp/agpreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/agp/agpreg.h b/sys/dev/agp/agpreg.h
index 7786efe..1914dc4 100644
--- a/sys/dev/agp/agpreg.h
+++ b/sys/dev/agp/agpreg.h
@@ -73,11 +73,11 @@
#define AGP_INTEL_ATTBASE 0xb8
/*
- * Config offsets for Intel i820/i840/i845/i850/i860/i865 AGP chipsets.
+ * Config offsets for Intel i8xx/E7xxx AGP chipsets.
*/
#define AGP_INTEL_MCHCFG 0x50
#define AGP_INTEL_I820_RDCR 0x51
-#define AGP_INTEL_I845_MCHCFG 0x51
+#define AGP_INTEL_I845_AGPM 0x51
#define AGP_INTEL_I8XX_ERRSTS 0xc8
/*
OpenPOWER on IntegriCloud