Deleted Added
full compact
acpi_pcib_pci.c (166176) acpi_pcib_pci.c (169221)
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_pci.c 166176 2007-01-22 21:48:44Z jhb $");
29__FBSDID("$FreeBSD: head/sys/dev/acpica/acpi_pcib_pci.c 169221 2007-05-02 17:50:36Z jhb $");
30
31#include "opt_acpi.h"
32
33#include <sys/param.h>
34#include <sys/bus.h>
35#include <sys/kernel.h>
36#include <sys/malloc.h>
37#include <sys/module.h>

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

91 /* pcib interface */
92 DEVMETHOD(pcib_maxslots, pcib_maxslots),
93 DEVMETHOD(pcib_read_config, pcib_read_config),
94 DEVMETHOD(pcib_write_config, pcib_write_config),
95 DEVMETHOD(pcib_route_interrupt, acpi_pcib_pci_route_interrupt),
96 DEVMETHOD(pcib_alloc_msi, pcib_alloc_msi),
97 DEVMETHOD(pcib_release_msi, pcib_release_msi),
98 DEVMETHOD(pcib_alloc_msix, pcib_alloc_msix),
30
31#include "opt_acpi.h"
32
33#include <sys/param.h>
34#include <sys/bus.h>
35#include <sys/kernel.h>
36#include <sys/malloc.h>
37#include <sys/module.h>

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

91 /* pcib interface */
92 DEVMETHOD(pcib_maxslots, pcib_maxslots),
93 DEVMETHOD(pcib_read_config, pcib_read_config),
94 DEVMETHOD(pcib_write_config, pcib_write_config),
95 DEVMETHOD(pcib_route_interrupt, acpi_pcib_pci_route_interrupt),
96 DEVMETHOD(pcib_alloc_msi, pcib_alloc_msi),
97 DEVMETHOD(pcib_release_msi, pcib_release_msi),
98 DEVMETHOD(pcib_alloc_msix, pcib_alloc_msix),
99 DEVMETHOD(pcib_remap_msix, pcib_remap_msix),
100 DEVMETHOD(pcib_release_msix, pcib_release_msix),
99 DEVMETHOD(pcib_release_msix, pcib_release_msix),
100 DEVMETHOD(pcib_map_msi, pcib_map_msi),
101
102 {0, 0}
103};
104
105static devclass_t pcib_devclass;
106
107DEFINE_CLASS_0(pcib, acpi_pcib_pci_driver, acpi_pcib_pci_methods,
108 sizeof(struct acpi_pcib_softc));

--- 69 unchanged lines hidden ---
101
102 {0, 0}
103};
104
105static devclass_t pcib_devclass;
106
107DEFINE_CLASS_0(pcib, acpi_pcib_pci_driver, acpi_pcib_pci_methods,
108 sizeof(struct acpi_pcib_softc));

--- 69 unchanged lines hidden ---