Deleted Added
full compact
acpi_pcib.c (138033) acpi_pcib.c (139339)
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.c 138033 2004-11-23 22:26:44Z jhb $");
29__FBSDID("$FreeBSD: head/sys/dev/acpica/acpi_pcib.c 139339 2004-12-27 05:36:47Z njl $");
30
31#include "opt_acpi.h"
32#include <sys/param.h>
33#include <sys/bus.h>
34#include <sys/malloc.h>
35#include <sys/kernel.h>
36
37#include "acpi.h"

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

52 * triggered by newbus methods.
53 */
54
55struct prt_lookup_request {
56 ACPI_PCI_ROUTING_TABLE *pr_entry;
57 u_int pr_pin;
58 u_int pr_slot;
59};
30
31#include "opt_acpi.h"
32#include <sys/param.h>
33#include <sys/bus.h>
34#include <sys/malloc.h>
35#include <sys/kernel.h>
36
37#include "acpi.h"

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

52 * triggered by newbus methods.
53 */
54
55struct prt_lookup_request {
56 ACPI_PCI_ROUTING_TABLE *pr_entry;
57 u_int pr_pin;
58 u_int pr_slot;
59};
60
60
61typedef void prt_entry_handler(ACPI_PCI_ROUTING_TABLE *entry, void *arg);
62
63static void prt_attach_devices(ACPI_PCI_ROUTING_TABLE *entry, void *arg);
64static void prt_lookup_device(ACPI_PCI_ROUTING_TABLE *entry, void *arg);
65static void prt_walk_table(ACPI_BUFFER *prt, prt_entry_handler *handler,
66 void *arg);
67
68static void

--- 200 unchanged lines hidden ---
61typedef void prt_entry_handler(ACPI_PCI_ROUTING_TABLE *entry, void *arg);
62
63static void prt_attach_devices(ACPI_PCI_ROUTING_TABLE *entry, void *arg);
64static void prt_lookup_device(ACPI_PCI_ROUTING_TABLE *entry, void *arg);
65static void prt_walk_table(ACPI_BUFFER *prt, prt_entry_handler *handler,
66 void *arg);
67
68static void

--- 200 unchanged lines hidden ---