Add #defines for the bits in the PCI Express SLOT registers. Names

have been chosen based on the bit names in the PCI Express Base
Specification 3.0, and to match the predominant style of the existing
bit definitions.

MFC after:	1 week
This commit is contained in:
Gavin Atkinson 2012-09-05 19:01:39 +00:00
parent dd294dcec6
commit 77c0749cb2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240150

View File

@ -663,8 +663,40 @@
#define PCIM_LINK_STA_TRAINING 0x0800
#define PCIM_LINK_STA_SLOT_CLOCK 0x1000
#define PCIR_EXPRESS_SLOT_CAP 0x14
#define PCIM_EXP_SLOT_CAP_APB 0x00000001
#define PCIM_EXP_SLOT_CAP_PCP 0x00000002
#define PCIM_EXP_SLOT_CAP_MRLSP 0x00000004
#define PCIM_EXP_SLOT_CAP_AIP 0x00000008
#define PCIM_EXP_SLOT_CAP_PIP 0x00000010
#define PCIM_EXP_SLOT_CAP_HPS 0x00000020
#define PCIM_EXP_SLOT_CAP_HPC 0x00000040
#define PCIM_EXP_SLOT_CAP_SPLV 0x00007f80
#define PCIM_EXP_SLOT_CAP_SPLS 0x00018000
#define PCIM_EXP_SLOT_CAP_EIP 0x00020000
#define PCIM_EXP_SLOT_CAP_NCCS 0x00040000
#define PCIM_EXP_SLOT_CAP_PSN 0xfff80000
#define PCIR_EXPRESS_SLOT_CTL 0x18
#define PCIM_EXP_SLOT_CTL_ABPE 0x0001
#define PCIM_EXP_SLOT_CTL_PFDE 0x0002
#define PCIM_EXP_SLOT_CTL_MRLSCE 0x0004
#define PCIM_EXP_SLOT_CTL_PDCE 0x0008
#define PCIM_EXP_SLOT_CTL_CCIE 0x0010
#define PCIM_EXP_SLOT_CTL_HPIE 0x0020
#define PCIM_EXP_SLOT_CTL_AIC 0x00c0
#define PCIM_EXP_SLOT_CTL_PIC 0x0300
#define PCIM_EXP_SLOT_CTL_PCC 0x0400
#define PCIM_EXP_SLOT_CTL_EIC 0x0800
#define PCIM_EXP_SLOT_CTL_DLLSCE 0x1000
#define PCIR_EXPRESS_SLOT_STA 0x1a
#define PCIM_EXP_SLOT_STA_ABP 0x0001
#define PCIM_EXP_SLOT_STA_PFD 0x0002
#define PCIM_EXP_SLOT_STA_MRLSC 0x0004
#define PCIM_EXP_SLOT_STA_PDC 0x0008
#define PCIM_EXP_SLOT_STA_CC 0x0010
#define PCIM_EXP_SLOT_STA_MRLSS 0x0020
#define PCIM_EXP_SLOT_STA_PDS 0x0040
#define PCIM_EXP_SLOT_STA_EIS 0x0080
#define PCIM_EXP_SLOT_STA_DLLSC 0x0100
#define PCIR_EXPRESS_ROOT_CTL 0x1c
#define PCIR_EXPRESS_ROOT_STA 0x20
#define PCIR_EXPRESS_DEVICE_CTL2 40