agpreg.h (150645) | agpreg.h (153031) |
---|---|
1/*- 2 * Copyright (c) 2000 Doug Rabson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2000 Doug Rabson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/agp/agpreg.h 150645 2005-09-27 20:57:50Z jkim $ | 26 * $FreeBSD: head/sys/dev/agp/agpreg.h 153031 2005-12-02 23:51:36Z anholt $ |
27 */ 28 29#ifndef _PCI_AGPREG_H_ 30#define _PCI_AGPREG_H_ 31 32/* 33 * Offsets for various AGP configuration registers. 34 */ --- 193 unchanged lines hidden (view full) --- 228#define AGP_I85X_VARIANT_MASK 0x7 229#define AGP_I85X_VARIANT_SHIFT 5 230#define AGP_I855_GME 0x0 231#define AGP_I855_GM 0x4 232#define AGP_I852_GME 0x2 233#define AGP_I852_GM 0x5 234 235/* | 27 */ 28 29#ifndef _PCI_AGPREG_H_ 30#define _PCI_AGPREG_H_ 31 32/* 33 * Offsets for various AGP configuration registers. 34 */ --- 193 unchanged lines hidden (view full) --- 228#define AGP_I85X_VARIANT_MASK 0x7 229#define AGP_I85X_VARIANT_SHIFT 5 230#define AGP_I855_GME 0x0 231#define AGP_I855_GM 0x4 232#define AGP_I852_GME 0x2 233#define AGP_I852_GM 0x5 234 235/* |
236 * 915G registers 237 */ 238#define AGP_I915_GMADR 0x18 239#define AGP_I915_MMADR 0x10 240#define AGP_I915_GTTADR 0x1C 241#define AGP_I915_GCC1_GMS_STOLEN_48M 0x60 242#define AGP_I915_GCC1_GMS_STOLEN_64M 0x70 243#define AGP_I915_DEVEN 0x54 244#define AGP_I915_DEVEN_D2F0 0x08 245#define AGP_I915_DEVEN_D2F0_ENABLED 0x08 246#define AGP_I915_DEVEN_D2F0_DISABLED 0x00 247#define AGP_I915_MSAC 0x62 248#define AGP_I915_MSAC_GMASIZE 0x02 249#define AGP_I915_MSAC_GMASIZE_128 0x02 250#define AGP_I915_MSAC_GMASIZE_256 0x00 251 252/* |
|
236 * NVIDIA nForce/nForce2 registers 237 */ 238#define AGP_NVIDIA_0_APBASE 0x10 239#define AGP_NVIDIA_0_APSIZE 0x80 240#define AGP_NVIDIA_1_WBC 0xf0 241#define AGP_NVIDIA_2_GARTCTRL 0xd0 242#define AGP_NVIDIA_2_APBASE 0xd8 243#define AGP_NVIDIA_2_APLIMIT 0xdc --- 51 unchanged lines hidden --- | 253 * NVIDIA nForce/nForce2 registers 254 */ 255#define AGP_NVIDIA_0_APBASE 0x10 256#define AGP_NVIDIA_0_APSIZE 0x80 257#define AGP_NVIDIA_1_WBC 0xf0 258#define AGP_NVIDIA_2_GARTCTRL 0xd0 259#define AGP_NVIDIA_2_APBASE 0xd8 260#define AGP_NVIDIA_2_APLIMIT 0xdc --- 51 unchanged lines hidden --- |