summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcireg.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-10-28 05:57:10 +0000
committerimp <imp@FreeBSD.org>2005-10-28 05:57:10 +0000
commit397e6b5e423edced2d26f85f8baeded66a693487 (patch)
treebfcf633578623d449b26db21c24ed10f75dc8cbc /sys/dev/pci/pcireg.h
parent691318f7655f199e58582728d15be7593ec760ed (diff)
downloadFreeBSD-src-397e6b5e423edced2d26f85f8baeded66a693487.zip
FreeBSD-src-397e6b5e423edced2d26f85f8baeded66a693487.tar.gz
Some cardbus CIS definitions moved here since they are PCI registers.
Diffstat (limited to 'sys/dev/pci/pcireg.h')
-rw-r--r--sys/dev/pci/pcireg.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index 12e7e9d..8894996 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -111,7 +111,18 @@
#define PCIR_BARS 0x10
#define PCIR_BAR(x) (PCIR_BARS + (x) * 4)
-#define PCIR_CARDBUSCIS 0x28
+#define PCIR_CIS 0x28
+#define PCIM_CIS_ASI_MASK 0x7
+#define PCIM_CIS_ASI_TUPLE 0
+#define PCIM_CIS_ASI_BAR0 1
+#define PCIM_CIS_ASI_BAR1 2
+#define PCIM_CIS_ASI_BAR2 3
+#define PCIM_CIS_ASI_BAR3 4
+#define PCIM_CIS_ASI_BAR4 5
+#define PCIM_CIS_ASI_BAR5 6
+#define PCIM_CIS_ASI_ROM 7
+#define PCIM_CIS_ADDR_MASK 0x0ffffff8
+#define PCIM_CIS_ROM_MASK 0xf0000000
#define PCIR_SUBVEND_0 0x2c
#define PCIR_SUBDEV_0 0x2e
#define PCIR_BIOS 0x30
OpenPOWER on IntegriCloud