acpi_pcib_acpi.c (154079) | acpi_pcib_acpi.c (164264) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/acpica/acpi_pcib_acpi.c 154079 2006-01-06 19:22:19Z jhb $"); | 29__FBSDID("$FreeBSD: head/sys/dev/acpica/acpi_pcib_acpi.c 164264 2006-11-13 21:47:30Z jhb $"); |
30 31#include "opt_acpi.h" 32#include <sys/param.h> 33#include <sys/bus.h> 34#include <sys/kernel.h> 35#include <sys/malloc.h> 36#include <sys/module.h> 37#include <sys/sysctl.h> --- 60 unchanged lines hidden (view full) --- 98 DEVMETHOD(bus_setup_intr, bus_generic_setup_intr), 99 DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr), 100 101 /* pcib interface */ 102 DEVMETHOD(pcib_maxslots, pcib_maxslots), 103 DEVMETHOD(pcib_read_config, acpi_pcib_read_config), 104 DEVMETHOD(pcib_write_config, acpi_pcib_write_config), 105 DEVMETHOD(pcib_route_interrupt, acpi_pcib_acpi_route_interrupt), | 30 31#include "opt_acpi.h" 32#include <sys/param.h> 33#include <sys/bus.h> 34#include <sys/kernel.h> 35#include <sys/malloc.h> 36#include <sys/module.h> 37#include <sys/sysctl.h> --- 60 unchanged lines hidden (view full) --- 98 DEVMETHOD(bus_setup_intr, bus_generic_setup_intr), 99 DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr), 100 101 /* pcib interface */ 102 DEVMETHOD(pcib_maxslots, pcib_maxslots), 103 DEVMETHOD(pcib_read_config, acpi_pcib_read_config), 104 DEVMETHOD(pcib_write_config, acpi_pcib_write_config), 105 DEVMETHOD(pcib_route_interrupt, acpi_pcib_acpi_route_interrupt), |
106 DEVMETHOD(pcib_alloc_msi, pcib_alloc_msi), 107 DEVMETHOD(pcib_release_msi, pcib_release_msi), 108 DEVMETHOD(pcib_alloc_msix, pcib_alloc_msix), 109 DEVMETHOD(pcib_release_msix, pcib_release_msix), |
|
106 107 {0, 0} 108}; 109 110static devclass_t pcib_devclass; 111 112DEFINE_CLASS_0(pcib, acpi_pcib_acpi_driver, acpi_pcib_acpi_methods, 113 sizeof(struct acpi_hpcib_softc)); --- 214 unchanged lines hidden --- | 110 111 {0, 0} 112}; 113 114static devclass_t pcib_devclass; 115 116DEFINE_CLASS_0(pcib, acpi_pcib_acpi_driver, acpi_pcib_acpi_methods, 117 sizeof(struct acpi_hpcib_softc)); --- 214 unchanged lines hidden --- |