acpi_drivers.h (08cd84c81f27d5bd22ba958b7cae6d566c509280) acpi_drivers.h (87bec66b9691522414862dd8d41e430b063735ef)
1/*
2 * acpi_drivers.h ($Revision: 31 $)
3 *
4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
6 *
7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 *

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

51
52#ifdef CONFIG_ACPI_PCI
53
54#define ACPI_PCI_COMPONENT 0x00400000
55
56/* ACPI PCI Interrupt Link (pci_link.c) */
57
58int acpi_irq_penalty_init (void);
1/*
2 * acpi_drivers.h ($Revision: 31 $)
3 *
4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
6 *
7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 *

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

51
52#ifdef CONFIG_ACPI_PCI
53
54#define ACPI_PCI_COMPONENT 0x00400000
55
56/* ACPI PCI Interrupt Link (pci_link.c) */
57
58int acpi_irq_penalty_init (void);
59int acpi_pci_link_get_irq (acpi_handle handle, int index, int *edge_level,
59int acpi_pci_link_allocate_irq (acpi_handle handle, int index, int *edge_level,
60 int *active_high_low, char **name);
60 int *active_high_low, char **name);
61int acpi_pci_link_free_irq(acpi_handle handle);
61
62/* ACPI PCI Interrupt Routing (pci_irq.c) */
63
64int acpi_pci_irq_add_prt (acpi_handle handle, int segment, int bus);
65void acpi_pci_irq_del_prt (int segment, int bus);
66
67/* ACPI PCI Device Binding (pci_bind.c) */
68
69struct pci_bus;
70
62
63/* ACPI PCI Interrupt Routing (pci_irq.c) */
64
65int acpi_pci_irq_add_prt (acpi_handle handle, int segment, int bus);
66void acpi_pci_irq_del_prt (int segment, int bus);
67
68/* ACPI PCI Device Binding (pci_bind.c) */
69
70struct pci_bus;
71
71acpi_status acpi_get_pci_id (acpi_handle handle, struct acpi_pci_id *id);
72int acpi_pci_bind (struct acpi_device *device);
73int acpi_pci_unbind (struct acpi_device *device);
74int acpi_pci_bind_root (struct acpi_device *device, struct acpi_pci_id *id, struct pci_bus *bus);
75
76/* Arch-defined function to add a bus to the system */
77
78struct pci_bus *pci_acpi_scan_root(struct acpi_device *device, int domain, int bus);
79

--- 39 unchanged lines hidden ---
72int acpi_pci_bind (struct acpi_device *device);
73int acpi_pci_unbind (struct acpi_device *device);
74int acpi_pci_bind_root (struct acpi_device *device, struct acpi_pci_id *id, struct pci_bus *bus);
75
76/* Arch-defined function to add a bus to the system */
77
78struct pci_bus *pci_acpi_scan_root(struct acpi_device *device, int domain, int bus);
79

--- 39 unchanged lines hidden ---