Write the routed interrupt back to PCI configuration space.

This commit is contained in:
msmith 2000-10-19 08:07:23 +00:00
parent c9b6c92cc9
commit acb4e5b087
2 changed files with 2 additions and 2 deletions

View File

@ -1301,7 +1301,7 @@ pci_alloc_resource(device_t dev, device_t child, int type, int *rid,
cfg->intpin);
#endif /* __i386__ */
if (cfg->intline != 255) {
/* XXX write back to PCI space? */
pci_write_config(child, PCIR_INTLINE, cfg->intline, 1);
resource_list_add(rl, SYS_RES_IRQ, 0,
cfg->intline, cfg->intline, 1);
}

View File

@ -1301,7 +1301,7 @@ pci_alloc_resource(device_t dev, device_t child, int type, int *rid,
cfg->intpin);
#endif /* __i386__ */
if (cfg->intline != 255) {
/* XXX write back to PCI space? */
pci_write_config(child, PCIR_INTLINE, cfg->intline, 1);
resource_list_add(rl, SYS_RES_IRQ, 0,
cfg->intline, cfg->intline, 1);
}