Deleted Added
full compact
36c36
< __FBSDID("$FreeBSD: head/sys/x86/pci/qpi.c 260973 2014-01-21 03:14:19Z jhb $");
---
> __FBSDID("$FreeBSD: head/sys/x86/pci/qpi.c 261790 2014-02-12 04:30:37Z jhb $");
240a241,254
> #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
> static struct resource *
> qpi_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid,
> u_long start, u_long end, u_long count, u_int flags)
> {
>
> if (type == PCI_RES_BUS)
> return (pci_domain_alloc_bus(0, child, rid, start, end, count,
> flags));
> return (bus_generic_alloc_resource(dev, child, type, rid, start, end,
> count, flags));
> }
> #endif
>
260a275,279
> #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
> DEVMETHOD(bus_alloc_resource, qpi_pcib_alloc_resource),
> DEVMETHOD(bus_adjust_resource, legacy_pcib_adjust_resource),
> DEVMETHOD(bus_release_resource, legacy_pcib_release_resource),
> #else
262a282
> #endif