linuxkpi: Define pcie_aspm_enabled()
This is not the same as querying the PCIE ASPM capability. The function should return if the feature is actually enabled or not. It always return false on FreeBSD. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D39053
This commit is contained in:
parent
19a355436e
commit
af19988f6c
@ -1370,6 +1370,12 @@ pcie_bandwidth_available(struct pci_dev *pdev,
|
||||
return (nwidth * PCIE_SPEED2MBS_ENC(nspeed));
|
||||
}
|
||||
|
||||
static inline bool
|
||||
pcie_aspm_enabled(struct pci_dev *pdev)
|
||||
{
|
||||
return (false);
|
||||
}
|
||||
|
||||
static inline struct pci_dev *
|
||||
pcie_find_root_port(struct pci_dev *pdev)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user