summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcireg.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-10-29 05:49:06 +0000
committerimp <imp@FreeBSD.org>2005-10-29 05:49:06 +0000
commite1cda542a5cb7ef1bd5e3a31a89ea45973d58c19 (patch)
tree34485ceba82f6aef1b46dd37c8e1d0962e347dbe /sys/dev/pci/pcireg.h
parentd4bb34dbd1bb1e1ccd559d330a2f9d3f25cdf886 (diff)
downloadFreeBSD-src-e1cda542a5cb7ef1bd5e3a31a89ea45973d58c19.zip
FreeBSD-src-e1cda542a5cb7ef1bd5e3a31a89ea45973d58c19.tar.gz
Use symbolic name rather thanhard coding the cap pointer offset for
type two devices.
Diffstat (limited to 'sys/dev/pci/pcireg.h')
-rw-r--r--sys/dev/pci/pcireg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index f9495bc..44b01b5 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -166,6 +166,7 @@
/* config registers for header type 2 (CardBus) devices */
+#define PCIR_CAP_PTR_2 0x14
#define PCIR_SECSTAT_2 0x16
#define PCIR_PRIBUS_2 0x18
OpenPOWER on IntegriCloud