diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-08-28 20:59:31 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-08-28 20:59:31 +0000 |
| commit | 86889ca0862444e83e138ebaa8400ab3a7d87f73 (patch) | |
| tree | 289739396a236bb942dfc550871f12318bc50e0a /sys/dev | |
| parent | bb66285c75cc8446556da0735af80f6b819d7aaf (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/pcireg.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index 6e5e1d9a8a7bb..75a276d8e0951 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -35,6 +35,7 @@ * PCIP_xxx: device programming interface * PCIV_xxx: PCI vendor ID (only required to fixup ancient devices) * PCID_xxx: device ID + * PCIY_xxx: capability identification number */ /* some PCI bus constants */ @@ -80,9 +81,22 @@ #define PCIR_CACHELNSZ 0x0c #define PCIR_LATTIMER 0x0d #define PCIR_HEADERTYPE 0x0e +#define PCIM_HEADERTYPE_NORMAL 0x00 +#define PCIM_HEADERTYPE_BRIDGE 0x01 +#define PCIM_HEADERTYPE_CARDBUS 0x02 #define PCIM_MFDEV 0x80 #define PCIR_BIST 0x0f +/* Capability Identification Numbers */ + +#define PCIY_PMG 0x01 +#define PCIY_AGP 0x02 +#define PCIY_VPD 0x03 +#define PCIY_SLOTID 0x04 +#define PCIY_MSI 0x05 +#define PCIY_CHSWP 0x06 +#define PCIY_PCIX 0x07 + /* config registers for header type 0 devices */ #define PCIR_MAPS 0x10 |
