Deleted Added
full compact
agpreg.h (153580) agpreg.h (165815)
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 153580 2005-12-20 22:45:24Z jhb $
26 * $FreeBSD: head/sys/dev/agp/agpreg.h 165815 2007-01-05 22:55:19Z jkim $
27 */
28
29#ifndef _PCI_AGPREG_H_
30#define _PCI_AGPREG_H_
31
32/*
33 * Offsets for various AGP configuration registers.
34 */

--- 33 unchanged lines hidden (view full) ---

68 */
69#define AGP_INTEL_NBXCFG 0x50
70#define AGP_INTEL_ERRSTS 0x91
71#define AGP_INTEL_AGPCTRL 0xb0
72#define AGP_INTEL_APSIZE 0xb4
73#define AGP_INTEL_ATTBASE 0xb8
74
75/*
27 */
28
29#ifndef _PCI_AGPREG_H_
30#define _PCI_AGPREG_H_
31
32/*
33 * Offsets for various AGP configuration registers.
34 */

--- 33 unchanged lines hidden (view full) ---

68 */
69#define AGP_INTEL_NBXCFG 0x50
70#define AGP_INTEL_ERRSTS 0x91
71#define AGP_INTEL_AGPCTRL 0xb0
72#define AGP_INTEL_APSIZE 0xb4
73#define AGP_INTEL_ATTBASE 0xb8
74
75/*
76 * Config offsets for Intel i820/i840/i845/i850/i860/i865 AGP chipsets.
76 * Config offsets for Intel i8xx/E7xxx AGP chipsets.
77 */
78#define AGP_INTEL_MCHCFG 0x50
79#define AGP_INTEL_I820_RDCR 0x51
77 */
78#define AGP_INTEL_MCHCFG 0x50
79#define AGP_INTEL_I820_RDCR 0x51
80#define AGP_INTEL_I845_MCHCFG 0x51
80#define AGP_INTEL_I845_AGPM 0x51
81#define AGP_INTEL_I8XX_ERRSTS 0xc8
82
83/*
84 * Config offsets for VIA AGP 2.x chipsets.
85 */
86#define AGP_VIA_GARTCTRL 0x80
87#define AGP_VIA_APSIZE 0x84
88#define AGP_VIA_ATTBASE 0x88

--- 217 unchanged lines hidden ---
81#define AGP_INTEL_I8XX_ERRSTS 0xc8
82
83/*
84 * Config offsets for VIA AGP 2.x chipsets.
85 */
86#define AGP_VIA_GARTCTRL 0x80
87#define AGP_VIA_APSIZE 0x84
88#define AGP_VIA_ATTBASE 0x88

--- 217 unchanged lines hidden ---