Partially undoing r34965, as pcivar.h should not have been part of it. Sorry
for the noise. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34696 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -51,7 +51,6 @@ int pci_release_msi(device_t dev);
|
|||||||
int pci_msix_count(device_t dev);
|
int pci_msix_count(device_t dev);
|
||||||
int pci_alloc_msix(device_t dev, int *count);
|
int pci_alloc_msix(device_t dev, int *count);
|
||||||
|
|
||||||
int pci_get_powerstate(device_t dev);
|
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
pci_get_vpd_ident(device_t dev, const char **identptr)
|
pci_get_vpd_ident(device_t dev, const char **identptr)
|
||||||
@@ -67,4 +66,10 @@ pci_set_powerstate(device_t dev, int state)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static inline int
|
||||||
|
pci_get_powerstate(device_t dev)
|
||||||
|
{
|
||||||
|
return PCI_POWERSTATE_D0;
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* _FBSD_COMPAT_DEV_PCI_PCIVAR_H_ */
|
#endif /* _FBSD_COMPAT_DEV_PCI_PCIVAR_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user