agpreg.h (133852) | agpreg.h (150236) |
---|---|
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 133852 2004-08-16 12:25:48Z obrien $ | 26 * $FreeBSD: head/sys/dev/agp/agpreg.h 150236 2005-09-17 03:36:47Z anholt $ |
27 */ 28 29#ifndef _PCI_AGPREG_H_ 30#define _PCI_AGPREG_H_ 31 32/* 33 * Offsets for various AGP configuration registers. 34 */ --- 222 unchanged lines hidden (view full) --- 257#define AGP_AMD64_APCTRL_DISGARTCPU 0x00000010 258#define AGP_AMD64_APCTRL_DISGARTIO 0x00000020 259#define AGP_AMD64_APCTRL_DISWLKPRB 0x00000040 260#define AGP_AMD64_APBASE_MASK 0x00007fff 261#define AGP_AMD64_ATTBASE_MASK 0xfffffff0 262#define AGP_AMD64_CACHECTRL_INVGART 0x00000001 263#define AGP_AMD64_CACHECTRL_PTEERR 0x00000002 264 | 27 */ 28 29#ifndef _PCI_AGPREG_H_ 30#define _PCI_AGPREG_H_ 31 32/* 33 * Offsets for various AGP configuration registers. 34 */ --- 222 unchanged lines hidden (view full) --- 257#define AGP_AMD64_APCTRL_DISGARTCPU 0x00000010 258#define AGP_AMD64_APCTRL_DISGARTIO 0x00000020 259#define AGP_AMD64_APCTRL_DISWLKPRB 0x00000040 260#define AGP_AMD64_APBASE_MASK 0x00007fff 261#define AGP_AMD64_ATTBASE_MASK 0xfffffff0 262#define AGP_AMD64_CACHECTRL_INVGART 0x00000001 263#define AGP_AMD64_CACHECTRL_PTEERR 0x00000002 264 |
265/* 266 * ATI IGP registers 267 */ 268#define ATI_GART_MMADDR 0x14 269#define ATI_RS100_APSIZE 0xac 270#define ATI_RS100_IG_AGPMODE 0xb0 271#define ATI_RS300_APSIZE 0xf8 272#define ATI_RS300_IG_AGPMODE 0xfc 273#define ATI_GART_FEATURE_ID 0x00 274#define ATI_GART_BASE 0x04 275#define ATI_GART_CACHE_CNTRL 0x0c 276 |
|
265#endif /* !_PCI_AGPREG_H_ */ | 277#endif /* !_PCI_AGPREG_H_ */ |