acpi/pcib: Use pcib_alloc_resource as bus alloc_resource method
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 22 Mar 2011 07:03:06 +0000 (15:03 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 27 Mar 2011 10:34:02 +0000 (18:34 +0800)
sys/dev/acpica5/acpi_pcib_pci.c

index 45e35a1..d754ae6 100644 (file)
@@ -80,8 +80,7 @@ static device_method_t acpi_pcib_pci_methods[] = {
     DEVMETHOD(bus_print_child,         bus_generic_print_child),
     DEVMETHOD(bus_read_ivar,           acpi_pcib_read_ivar),
     DEVMETHOD(bus_write_ivar,          pcib_write_ivar),
-   // DEVMETHOD(bus_alloc_resource,    pcib_alloc_resource),
-    DEVMETHOD(bus_alloc_resource,      bus_generic_alloc_resource),
+    DEVMETHOD(bus_alloc_resource,      pcib_alloc_resource),
     DEVMETHOD(bus_release_resource,    bus_generic_release_resource),
     DEVMETHOD(bus_activate_resource,   bus_generic_activate_resource),
     DEVMETHOD(bus_deactivate_resource,         bus_generic_deactivate_resource),