acpi_pci.c (150003) | acpi_pci.c (153560) |
---|---|
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 150003 2005-09-11 18:39:03Z obrien $"); | 30__FBSDID("$FreeBSD: head/sys/dev/acpica/acpi_pci.c 153560 2005-12-20 19:57:47Z jhb $"); |
31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/bus.h> 35#include <sys/kernel.h> 36#include <sys/malloc.h> 37#include <sys/module.h> 38 --- 73 unchanged lines hidden (view full) --- 112 DEVMETHOD(pci_write_config, pci_write_config_method), 113 DEVMETHOD(pci_enable_busmaster, pci_enable_busmaster_method), 114 DEVMETHOD(pci_disable_busmaster, pci_disable_busmaster_method), 115 DEVMETHOD(pci_enable_io, pci_enable_io_method), 116 DEVMETHOD(pci_disable_io, pci_disable_io_method), 117 DEVMETHOD(pci_get_powerstate, pci_get_powerstate_method), 118 DEVMETHOD(pci_set_powerstate, acpi_pci_set_powerstate_method), 119 DEVMETHOD(pci_assign_interrupt, pci_assign_interrupt_method), | 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/bus.h> 35#include <sys/kernel.h> 36#include <sys/malloc.h> 37#include <sys/module.h> 38 --- 73 unchanged lines hidden (view full) --- 112 DEVMETHOD(pci_write_config, pci_write_config_method), 113 DEVMETHOD(pci_enable_busmaster, pci_enable_busmaster_method), 114 DEVMETHOD(pci_disable_busmaster, pci_disable_busmaster_method), 115 DEVMETHOD(pci_enable_io, pci_enable_io_method), 116 DEVMETHOD(pci_disable_io, pci_disable_io_method), 117 DEVMETHOD(pci_get_powerstate, pci_get_powerstate_method), 118 DEVMETHOD(pci_set_powerstate, acpi_pci_set_powerstate_method), 119 DEVMETHOD(pci_assign_interrupt, pci_assign_interrupt_method), |
120 DEVMETHOD(pci_find_extcap, pci_find_extcap_method), |
|
120 121 { 0, 0 } 122}; 123 124static driver_t acpi_pci_driver = { 125 "pci", 126 acpi_pci_methods, 127 0, /* no softc */ --- 207 unchanged lines hidden --- | 121 122 { 0, 0 } 123}; 124 125static driver_t acpi_pci_driver = { 126 "pci", 127 acpi_pci_methods, 128 0, /* no softc */ --- 207 unchanged lines hidden --- |