Deleted Added
full compact
acpi_pci.c (128016) acpi_pci.c (128058)
1/*
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * Copyright (c) 2000, Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000, BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 13 unchanged lines hidden (view full) ---

22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * Copyright (c) 2000, Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000, BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 13 unchanged lines hidden (view full) ---

22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/sys/dev/acpica/acpi_pci.c 128016 2004-04-07 19:42:21Z jhb $");
30__FBSDID("$FreeBSD: head/sys/dev/acpica/acpi_pci.c 128058 2004-04-09 15:44:34Z imp $");
31
32#include "opt_bus.h"
33
34#include <sys/param.h>
35#include <sys/systm.h>
36#include <sys/bus.h>
37#include <sys/kernel.h>
38#include <sys/malloc.h>

--- 35 unchanged lines hidden (view full) ---

74static ACPI_STATUS acpi_pci_save_handle(ACPI_HANDLE handle, UINT32 level,
75 void *context, void **status);
76
77static device_method_t acpi_pci_methods[] = {
78 /* Device interface */
79 DEVMETHOD(device_probe, acpi_pci_probe),
80 DEVMETHOD(device_attach, acpi_pci_attach),
81 DEVMETHOD(device_shutdown, bus_generic_shutdown),
31
32#include "opt_bus.h"
33
34#include <sys/param.h>
35#include <sys/systm.h>
36#include <sys/bus.h>
37#include <sys/kernel.h>
38#include <sys/malloc.h>

--- 35 unchanged lines hidden (view full) ---

74static ACPI_STATUS acpi_pci_save_handle(ACPI_HANDLE handle, UINT32 level,
75 void *context, void **status);
76
77static device_method_t acpi_pci_methods[] = {
78 /* Device interface */
79 DEVMETHOD(device_probe, acpi_pci_probe),
80 DEVMETHOD(device_attach, acpi_pci_attach),
81 DEVMETHOD(device_shutdown, bus_generic_shutdown),
82 DEVMETHOD(device_suspend, bus_generic_suspend),
82 DEVMETHOD(device_suspend, pci_suspend),
83 DEVMETHOD(device_resume, pci_resume),
84
85 /* Bus interface */
86 DEVMETHOD(bus_print_child, pci_print_child),
87 DEVMETHOD(bus_probe_nomatch, pci_probe_nomatch),
88 DEVMETHOD(bus_read_ivar, acpi_pci_read_ivar),
89 DEVMETHOD(bus_write_ivar, pci_write_ivar),
83 DEVMETHOD(device_resume, pci_resume),
84
85 /* Bus interface */
86 DEVMETHOD(bus_print_child, pci_print_child),
87 DEVMETHOD(bus_probe_nomatch, pci_probe_nomatch),
88 DEVMETHOD(bus_read_ivar, acpi_pci_read_ivar),
89 DEVMETHOD(bus_write_ivar, pci_write_ivar),
90 DEVMETHOD(bus_driver_added, bus_generic_driver_added),
90 DEVMETHOD(bus_driver_added, pci_driver_added),
91 DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
92 DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
93
94 DEVMETHOD(bus_get_resource_list,pci_get_resource_list),
95 DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
96 DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
97 DEVMETHOD(bus_delete_resource, pci_delete_resource),
98 DEVMETHOD(bus_alloc_resource, pci_alloc_resource),

--- 187 unchanged lines hidden ---
91 DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
92 DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
93
94 DEVMETHOD(bus_get_resource_list,pci_get_resource_list),
95 DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
96 DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
97 DEVMETHOD(bus_delete_resource, pci_delete_resource),
98 DEVMETHOD(bus_alloc_resource, pci_alloc_resource),

--- 187 unchanged lines hidden ---