summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-09-17 07:47:51 +0000
committerDave Airlie <airlied@linux.ie>2005-09-17 07:47:51 +0000
commit3c71198a088e71a105e274f176c8ceb503615d46 (patch)
treef505513bfd6dff7267e0cdc0b8469f8764d5f653 /src/radeon_reg.h
parent10cf3523f236a017a1ca7e5ee57e02176b924059 (diff)
Switch radeon driver to using a card type rather than having a IsPCI flag,
allow for PCI/AGP/PCIE cards. Set PCI gart allocation to only happen on PCIE cards. Add Radeon PCIE card detection using capability bits.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index 13f5ad0d..9ca65227 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -87,6 +87,7 @@
# define RADEON_CAP_PTR_MASK 0xfc /* mask off reserved bits of CAP_PTR */
# define RADEON_CAP_ID_NULL 0x00 /* End of capability list */
# define RADEON_CAP_ID_AGP 0x02 /* AGP capability ID */
+# define RADEON_CAP_ID_EXP 0x10 /* PCI Express */
#define RADEON_AGP_COMMAND 0x0f60 /* PCI */
#define RADEON_AGP_COMMAND_PCI_CONFIG 0x0060 /* offset in PCI config*/
# define RADEON_AGP_ENABLE (1<<8)