diff options
author | msmith <msmith@FreeBSD.org> | 2000-10-19 08:07:23 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-10-19 08:07:23 +0000 |
commit | acb4e5b087b106c1f70674b4f37015fee2fc9890 (patch) | |
tree | 7c263d430370e0bdc5b8e2f405b09edf8456f611 /sys/pci | |
parent | c9b6c92cc901e3f75bf123860844d35355f26147 (diff) | |
download | FreeBSD-src-acb4e5b087b106c1f70674b4f37015fee2fc9890.zip FreeBSD-src-acb4e5b087b106c1f70674b4f37015fee2fc9890.tar.gz |
Write the routed interrupt back to PCI configuration space.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c index 17f8ceb..0c423d6 100644 --- a/sys/pci/pci.c +++ b/sys/pci/pci.c @@ -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); } |