diff options
author | mav <mav@FreeBSD.org> | 2009-02-15 09:49:21 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-02-15 09:49:21 +0000 |
commit | d0e411faf1a5b34ca3251c124602e44cc97e0cb7 (patch) | |
tree | 40ba9d05d4171e50ad751dacabcb8328d5ac94d3 | |
parent | efa1327aeeda14f170609e2654165e6fcdde551b (diff) | |
download | FreeBSD-src-d0e411faf1a5b34ca3251c124602e44cc97e0cb7.zip FreeBSD-src-d0e411faf1a5b34ca3251c124602e44cc97e0cb7.tar.gz |
Add SATA and PCI Advanced Features capabilities constants.
-rw-r--r-- | sys/dev/pci/pcireg.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index 0b69ca4..0b83584 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -112,6 +112,8 @@ #define PCIY_SECDEV 0x0f /* Secure Device */ #define PCIY_EXPRESS 0x10 /* PCI Express */ #define PCIY_MSIX 0x11 /* MSI-X */ +#define PCIY_SATA 0x12 /* SATA */ +#define PCIY_PCIAF 0x13 /* PCI Advanced Features */ /* config registers for header type 0 devices */ @@ -611,3 +613,12 @@ #define PCIM_MSIX_BIR_BAR_20 4 #define PCIM_MSIX_BIR_BAR_24 5 #define PCIM_MSIX_VCTRL_MASK 0x1 + +/* PCI Advanced Features definitions */ +#define PCIR_PCIAF_CAP 0x3 +#define PCIM_PCIAFCAP_TP 0x01 +#define PCIM_PCIAFCAP_FLR 0x02 +#define PCIR_PCIAF_CTRL 0x4 +#define PCIR_PCIAFCTRL_FLR 0x01 +#define PCIR_PCIAF_STATUS 0x5 +#define PCIR_PCIAFSTATUS_TP 0x01 |