Subversion Repositories Kolibri OS

Rev

Rev 1631 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1631 Rev 1633
Line 144... Line 144...
144
    struct resource secondary;      /* downstream bus range */
144
    struct resource secondary;      /* downstream bus range */
145
 
145
 
Line 146... Line 146...
146
};
146
};
Line -... Line 147...
-
 
147
 
-
 
148
static inline void *acpi_driver_data(struct acpi_device *d)
-
 
149
{
-
 
150
    return d->driver_data;
Line 147... Line 151...
147
 
151
}
148
 
152
 
149
#define acpi_device_bid(d)  ((d)->pnp.bus_id)
153
#define acpi_device_bid(d)  ((d)->pnp.bus_id)
150
#define acpi_device_adr(d)  ((d)->pnp.bus_address)
154
#define acpi_device_adr(d)  ((d)->pnp.bus_address)
Line 159... Line 163...
159
int acpi_pci_bind_root(struct acpi_device *device);
163
int acpi_pci_bind_root(struct acpi_device *device);
160
struct pci_dev *acpi_get_pci_dev(ACPI_HANDLE handle);
164
struct pci_dev *acpi_get_pci_dev(ACPI_HANDLE handle);
161
int acpi_is_root_bridge(ACPI_HANDLE handle);
165
int acpi_is_root_bridge(ACPI_HANDLE handle);
162
166
 
Line -... Line 167...
-
 
167
int acpi_pci_link_allocate_irq(ACPI_HANDLE handle, int index,
-
 
168
                               int *triggering, int *polarity, char **name);
-
 
169