From owner-p4-projects@FreeBSD.ORG Wed Aug 11 20:00:09 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CB3CF16A4D2; Wed, 11 Aug 2004 20:00:08 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B2CD16A4CF for ; Wed, 11 Aug 2004 20:00:08 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 708E143D41 for ; Wed, 11 Aug 2004 20:00:08 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7BK08Sx083683 for ; Wed, 11 Aug 2004 20:00:08 GMT (envelope-from scottl@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7BK08K6083680 for perforce@freebsd.org; Wed, 11 Aug 2004 20:00:08 GMT (envelope-from scottl@freebsd.org) Date: Wed, 11 Aug 2004 20:00:08 GMT Message-Id: <200408112000.i7BK08K6083680@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to scottl@freebsd.org using -f From: Scott Long To: Perforce Change Reviews Subject: PERFORCE change 59425 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 20:00:09 -0000 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),