| 253 | |
| 254 | #if defined(NEW_PCIB) && defined(PCI_RES_BUS) |
| 255 | static struct resource * |
| 256 | qpi_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, |
| 257 | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) |
| 258 | { |
| 259 | |
| 260 | if (type == PCI_RES_BUS) |
| 261 | return (pci_domain_alloc_bus(0, child, rid, start, end, count, |
| 262 | flags)); |
| 263 | return (bus_generic_alloc_resource(dev, child, type, rid, start, end, |
| 264 | count, flags)); |
| 265 | } |
| 266 | #endif |
| 267 | |
| 268 | static int |
nothing calls this directly
no test coverage detected