diff options
author | Gavin Atkinson <gavin@FreeBSD.org> | 2012-09-17 12:51:48 +0000 |
---|---|---|
committer | Gavin Atkinson <gavin@FreeBSD.org> | 2012-09-17 12:51:48 +0000 |
commit | 058ede33bfe4496a47fd00e162fea03cf04bcfe3 (patch) | |
tree | b943658617fff73f3f2991debe4421f7b4f84549 | |
parent | 4e4eb1203867dea52b0509e9161cd3f69d6762a6 (diff) |
- Add #defines for the bits within the iPCI Express PCIR_EXPRESS_LINK_CTL
register
- Add missing register PCIR_EXPRESS_ROOT_CAP
- Correct a spelling mistake (SLAT -> SLOT) [1]
Reviewed by: jhb [1]
Notes
Notes:
svn path=/head/; revision=240602
-rw-r--r-- | sys/dev/pci/pcireg.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index c36063a061f9..1913ca2e1c22 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -687,6 +687,19 @@ #define PCIM_LINK_CAP_ASPM_COMPLIANCE 0x00400000 #define PCIM_LINK_CAP_PORT 0xff000000 #define PCIR_EXPRESS_LINK_CTL 0x10 +#define PCIM_EXP_LINK_CTL_ASPMC_DIS 0x0000 +#define PCIM_EXP_LINK_CTL_ASPMC_L0S 0x0001 +#define PCIM_EXP_LINK_CTL_ASPMC_L1 0x0002 +#define PCIM_EXP_LINK_CTL_ASPMC 0x0003 +#define PCIM_EXP_LINK_CTL_RCB 0x0008 +#define PCIM_EXP_LINK_CTL_LINK_DIS 0x0010 +#define PCIM_EXP_LINK_CTL_RETRAIN_LINK 0x0020 +#define PCIM_EXP_LINK_CTL_COMMON_CLOCK 0x0040 +#define PCIM_EXP_LINK_CTL_EXTENDED_SYNC 0x0080 +#define PCIM_EXP_LINK_CTL_ECPM 0x0100 +#define PCIM_EXP_LINK_CTL_HAWD 0x0200 +#define PCIM_EXP_LINK_CTL_LBMIE 0x0400 +#define PCIM_EXP_LINK_CTL_LABIE 0x0800 #define PCIR_EXPRESS_LINK_STA 0x12 #define PCIM_LINK_STA_SPEED 0x000f #define PCIM_LINK_STA_WIDTH 0x03f0 @@ -732,6 +745,7 @@ #define PCIM_EXP_SLOT_STA_EIS 0x0080 #define PCIM_EXP_SLOT_STA_DLLSC 0x0100 #define PCIR_EXPRESS_ROOT_CTL 0x1c +#define PCIR_EXPRESS_ROOT_CAP 0x1e #define PCIR_EXPRESS_ROOT_STA 0x20 #define PCIR_EXPRESS_DEVICE_CAP2 0x24 #define PCIR_EXPRESS_DEVICE_CTL2 0x28 @@ -753,7 +767,7 @@ #define PCIR_EXPRESS_LINK_CAP2 0x2c #define PCIR_EXPRESS_LINK_CTL2 0x30 #define PCIR_EXPRESS_LINK_STA2 0x32 -#define PCIR_EXPRESS_SLAT_CAP2 0x34 +#define PCIR_EXPRESS_SLOT_CAP2 0x34 #define PCIR_EXPRESS_SLOT_CTL2 0x38 #define PCIR_EXPRESS_SLOT_STA2 0x3a |