pcibios_pir_header
if (pcibios_pir_header.signature != 0 &&
(pcibios_pir_header.router_bus != 0 ||
PIR_DEVFUNC_DEVICE(pcibios_pir_header.router_devfunc) != 0 ||
PIR_DEVFUNC_FUNCTION(pcibios_pir_header.router_devfunc) != 0 ||
pcibios_pir_header.compat_router != 0)) {
icutag = pci_make_tag(pc, pcibios_pir_header.router_bus,
PIR_DEVFUNC_DEVICE(pcibios_pir_header.router_devfunc),
PIR_DEVFUNC_FUNCTION(pcibios_pir_header.router_devfunc));
icuid = pcibios_pir_header.compat_router;
if (pcibios_pir_header.signature != 0 && icuid != 0)
memcpy(&pcibios_pir_header, p, 32);
pcibios_pir_header.router_bus,
PIR_DEVFUNC_DEVICE(pcibios_pir_header.router_devfunc),
PIR_DEVFUNC_FUNCTION(pcibios_pir_header.router_devfunc));
if (pcibios_pir_header.compat_router != 0) {
pci_devinfo(pcibios_pir_header.compat_router,
&pcibios_pir_header.exclusive_irq) != PCIBIOS_SUCCESS) {
if (pcibios_pir_header.exclusive_irq) {
if (pcibios_pir_header.exclusive_irq & (1 << i))
struct pcibios_pir_header pcibios_pir_header;
extern struct pcibios_pir_header pcibios_pir_header;