mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
LinuxKPI: pci.h add more constants
Add two more PCI_EXP_LNKSTA_CLS constants to the compat defines needed by wireless drivers. Sponsored by: The FreeBSD Foundation MFC after: 10 days Reviewed by: manu, emaste Differential Revision: https://reviews.freebsd.org/D41258
This commit is contained in:
parent
1dcd1a5392
commit
f74c09f3ec
1 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,8 @@ MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice", \
|
|||
#define PCI_EXP_TYPE_DOWNSTREAM PCIEM_TYPE_DOWNSTREAM_PORT /* Downstream Port */
|
||||
#define PCI_EXP_FLAGS_SLOT PCIEM_FLAGS_SLOT /* Slot implemented */
|
||||
#define PCI_EXP_TYPE_RC_EC PCIEM_TYPE_ROOT_EC /* Root Complex Event Collector */
|
||||
#define PCI_EXP_LNKSTA_CLS PCIEM_LINK_STA_SPEED
|
||||
#define PCI_EXP_LNKSTA_CLS_8_0GB 0x0003 /* Current Link Speed 8.0GT/s */
|
||||
#define PCI_EXP_LNKCAP_SLS_2_5GB 0x01 /* Supported Link Speed 2.5GT/s */
|
||||
#define PCI_EXP_LNKCAP_SLS_5_0GB 0x02 /* Supported Link Speed 5.0GT/s */
|
||||
#define PCI_EXP_LNKCAP_SLS_8_0GB 0x03 /* Supported Link Speed 8.0GT/s */
|
||||
|
|
|
|||
Loading…
Reference in a new issue