Date: Wed, 11 Aug 2004 20:00:08 GMT From: Scott Long <scottl@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 59425 for review Message-ID: <200408112000.i7BK08K6083680@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=59425 Change 59425 by scottl@scottl-wv1u on 2004/08/11 19:59:38 Add more DEVMETHOD dispatches Affected files ... .. //depot/projects/newint/sys/dev/acpica/acpi_pci.c#3 edit .. //depot/projects/newint/sys/dev/acpica/acpi_pcib_acpi.c#3 edit .. //depot/projects/newint/sys/dev/acpica/acpi_pcib_pci.c#3 edit .. //depot/projects/newint/sys/dev/pci/pci.c#3 edit .. //depot/projects/newint/sys/dev/pci/pci_pci.c#3 edit .. //depot/projects/newint/sys/i386/i386/msi.c#4 edit .. //depot/projects/newint/sys/i386/pci/pci_bus.c#4 edit Differences ... ==== //depot/projects/newint/sys/dev/acpica/acpi_pci.c#3 (text+ko) ==== @@ -88,6 +88,7 @@ DEVMETHOD(bus_setup_intr, bus_generic_setup_intr), DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr), + DEVMETHOD(bus_reserve_resource, bus_generic_reserve_resource), DEVMETHOD(bus_get_resource_list,pci_get_resource_list), DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource), DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource), ==== //depot/projects/newint/sys/dev/acpica/acpi_pcib_acpi.c#3 (text+ko) ==== @@ -88,6 +88,7 @@ DEVMETHOD(bus_print_child, bus_generic_print_child), DEVMETHOD(bus_read_ivar, acpi_pcib_read_ivar), DEVMETHOD(bus_write_ivar, acpi_pcib_write_ivar), + DEVMETHOD(bus_reserve_resource, bus_generic_reserve_resource), DEVMETHOD(bus_alloc_resource, acpi_pcib_acpi_alloc_resource), DEVMETHOD(bus_release_resource, bus_generic_release_resource), DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), ==== //depot/projects/newint/sys/dev/acpica/acpi_pcib_pci.c#3 (text+ko) ==== @@ -81,6 +81,7 @@ 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_reserve_resource, bus_generic_reserve_resource), DEVMETHOD(bus_alloc_resource, pcib_alloc_resource), DEVMETHOD(bus_release_resource, bus_generic_release_resource), DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), ==== //depot/projects/newint/sys/dev/pci/pci.c#3 (text+ko) ==== @@ -103,6 +103,7 @@ DEVMETHOD(bus_setup_intr, bus_generic_setup_intr), DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr), + DEVMETHOD(bus_reserve_resource, bus_generic_reserve_resource), DEVMETHOD(bus_get_resource_list,pci_get_resource_list), DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource), DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource), ==== //depot/projects/newint/sys/dev/pci/pci_pci.c#3 (text+ko) ==== @@ -66,6 +66,7 @@ DEVMETHOD(bus_print_child, bus_generic_print_child), DEVMETHOD(bus_read_ivar, pcib_read_ivar), DEVMETHOD(bus_write_ivar, pcib_write_ivar), + DEVMETHOD(bus_reserve_resource, bus_generic_reserve_resource), DEVMETHOD(bus_alloc_resource, pcib_alloc_resource), DEVMETHOD(bus_release_resource, bus_generic_release_resource), DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), ==== //depot/projects/newint/sys/i386/i386/msi.c#4 (text+ko) ==== @@ -177,7 +177,10 @@ } int -msi_reserve_resource(device_t dev, int *start, int *size, int flags) +msi_reserve_resource(device_t dev, int *start, int *count, int flags) { + printf("msi_reserve_resource called\n"); + + *count = 0; return (0); } ==== //depot/projects/newint/sys/i386/pci/pci_bus.c#4 (text+ko) ==== @@ -482,6 +482,7 @@ DEVMETHOD(bus_print_child, bus_generic_print_child), DEVMETHOD(bus_read_ivar, legacy_pcib_read_ivar), DEVMETHOD(bus_write_ivar, legacy_pcib_write_ivar), + DEVMETHOD(bus_reserve_resource, bus_generic_reserve_resource), DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource), DEVMETHOD(bus_release_resource, bus_generic_release_resource), DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408112000.i7BK08K6083680>