agpreg.h (119368) | agpreg.h (127873) |
---|---|
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 119368 2003-08-23 18:00:31Z mdodd $ | 26 * $FreeBSD: head/sys/dev/agp/agpreg.h 127873 2004-04-05 02:32:07Z imp $ |
27 */ 28 29#ifndef _PCI_AGPREG_H_ 30#define _PCI_AGPREG_H_ 31 32/* 33 * Offsets for various AGP configuration registers. 34 */ --- 6 unchanged lines hidden (view full) --- 41#define AGP_CAPID 0x0 42#define AGP_CAPID_GET_MAJOR(x) (((x) & 0x00f00000U) >> 20) 43#define AGP_CAPID_GET_MINOR(x) (((x) & 0x000f0000U) >> 16) 44#define AGP_CAPID_GET_NEXT_PTR(x) (((x) & 0x0000ff00U) >> 8) 45#define AGP_CAPID_GET_CAP_ID(x) (((x) & 0x000000ffU) >> 0) 46 47#define AGP_STATUS 0x4 48#define AGP_COMMAND 0x8 | 27 */ 28 29#ifndef _PCI_AGPREG_H_ 30#define _PCI_AGPREG_H_ 31 32/* 33 * Offsets for various AGP configuration registers. 34 */ --- 6 unchanged lines hidden (view full) --- 41#define AGP_CAPID 0x0 42#define AGP_CAPID_GET_MAJOR(x) (((x) & 0x00f00000U) >> 20) 43#define AGP_CAPID_GET_MINOR(x) (((x) & 0x000f0000U) >> 16) 44#define AGP_CAPID_GET_NEXT_PTR(x) (((x) & 0x0000ff00U) >> 8) 45#define AGP_CAPID_GET_CAP_ID(x) (((x) & 0x000000ffU) >> 0) 46 47#define AGP_STATUS 0x4 48#define AGP_COMMAND 0x8 |
49#define AGP_STATUS_AGP3 0x0008 50#define AGP_STATUS_RQ_MASK 0xff000000 51#define AGP_COMMAND_RQ_MASK 0xff000000 52#define AGP_STATUS_ARQSZ_MASK 0xe000 53#define AGP_COMMAND_ARQSZ_MASK 0xe000 54#define AGP_STATUS_CAL_MASK 0x1c00 55#define AGP_COMMAND_CAL_MASK 0x1c00 56#define AGP_STATUS_ISOCH 0x10000 57#define AGP_STATUS_SBA 0x0200 58#define AGP_STATUS_ITA_COH 0x0100 59#define AGP_STATUS_GART64 0x0080 60#define AGP_STATUS_HTRANS 0x0040 61#define AGP_STATUS_64BIT 0x0020 62#define AGP_STATUS_FW 0x0010 63#define AGP_COMMAND_RQ_MASK 0xff000000 64#define AGP_COMMAND_ARQSZ_MASK 0xe000 65#define AGP_COMMAND_CAL_MASK 0x1c00 66#define AGP_COMMAND_SBA 0x0200 67#define AGP_COMMAND_AGP 0x0100 68#define AGP_COMMAND_GART64 0x0080 69#define AGP_COMMAND_64BIT 0x0020 70#define AGP_COMMAND_FW 0x0010 |
|
49 50/* 51 * Config offsets for Intel AGP chipsets. 52 */ 53#define AGP_INTEL_NBXCFG 0x50 54#define AGP_INTEL_ERRSTS 0x91 55#define AGP_INTEL_AGPCTRL 0xb0 56#define AGP_INTEL_APSIZE 0xb4 --- 162 unchanged lines hidden --- | 71 72/* 73 * Config offsets for Intel AGP chipsets. 74 */ 75#define AGP_INTEL_NBXCFG 0x50 76#define AGP_INTEL_ERRSTS 0x91 77#define AGP_INTEL_AGPCTRL 0xb0 78#define AGP_INTEL_APSIZE 0xb4 --- 162 unchanged lines hidden --- |