40bfed28cd
- every pci device which implements _PRT acpi method is considered to be a pci-to-pci bridge - acpi driver constructs a hierarchy of pci-to-pci bridges - when pci driver identifies a pci-to-pci bridge it tells acpi driver what is the primary and the secondary bus for this device - when pci requests IRQ routing information from acpi, it passes the bus number too to be able to identify the device accurately
12 lines
234 B
C
12 lines
234 B
C
#ifndef __ACPI_PCI_H__
|
|
#define __ACPI_PCI_H__
|
|
|
|
#include <minix/ipc.h>
|
|
|
|
_PROTOTYPE(void do_map_bridge, (message *m));
|
|
_PROTOTYPE(void do_get_irq, (message *m));
|
|
|
|
_PROTOTYPE(void pci_scan_devices, (void));
|
|
|
|
|
|
#endif /* __ACPI_PCI_H__ */
|