- 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]
This commit is contained in:
Gavin Atkinson 2012-09-17 12:51:48 +00:00
parent 4e4eb12038
commit 058ede33bf

View File

@ -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