Whitespace cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34695 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8f1951519e
commit
250affd447
@ -130,8 +130,8 @@ bus_alloc_resource(device_t dev, int type, int *rid, unsigned long start,
|
||||
&& type != SYS_RES_IOPORT)
|
||||
return NULL;
|
||||
|
||||
device_printf(dev, "bus_alloc_resource(%i, [%i], 0x%lx, 0x%lx, 0x%lx, 0x%lx)\n",
|
||||
type, *rid, start, end, count, flags);
|
||||
device_printf(dev, "bus_alloc_resource(%i, [%i], 0x%lx, 0x%lx, 0x%lx,"
|
||||
"0x%lx)\n", type, *rid, start, end, count, flags);
|
||||
|
||||
// maybe a local array of resources is enough
|
||||
res = malloc(sizeof(struct resource));
|
||||
@ -466,6 +466,7 @@ bus_child_present(device_t child)
|
||||
return bus_child_present(parent);
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - PCI functions
|
||||
|
||||
|
||||
@ -688,4 +689,3 @@ pci_alloc_msix(device_t dev, int *count)
|
||||
{
|
||||
return ENODEV;
|
||||
}
|
||||
|
||||
|
@ -51,6 +51,7 @@ 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);
|
||||
|
||||
static inline int
|
||||
pci_get_vpd_ident(device_t dev, const char **identptr)
|
||||
@ -66,10 +67,4 @@ 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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user