From 32a0e3810e25a53924dfb993ee34c70768f8e7ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20G=C3=BCnther?= Date: Sun, 20 Dec 2009 13:44:43 +0000 Subject: [PATCH] This change should have been part of r34718. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34720 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../freebsd_network/compat/dev/pci/pcivar.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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_ */