diff --git a/src/libs/compat/freebsd_network/compat/dev/pci/pcivar.h b/src/libs/compat/freebsd_network/compat/dev/pci/pcivar.h index 310e44f5b8..a7a3a69980 100644 --- a/src/libs/compat/freebsd_network/compat/dev/pci/pcivar.h +++ b/src/libs/compat/freebsd_network/compat/dev/pci/pcivar.h @@ -51,6 +51,8 @@ int pci_release_msi(device_t dev); int pci_msix_count(device_t dev); int pci_alloc_msix(device_t dev, int *count); +int pci_get_powerstate(device_t dev); +int pci_set_powerstate(device_t dev, int newPowerState); static inline int pci_get_vpd_ident(device_t dev, const char **identptr) @@ -58,18 +60,4 @@ pci_get_vpd_ident(device_t dev, const char **identptr) return -1; } - -static inline int -pci_set_powerstate(device_t dev, int state) -{ - return PCI_POWERSTATE_UNKNOWN; -} - - -static inline int -pci_get_powerstate(device_t dev) -{ - return PCI_POWERSTATE_D0; -} - #endif /* _FBSD_COMPAT_DEV_PCI_PCIVAR_H_ */