summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-10-19 08:07:23 +0000
committermsmith <msmith@FreeBSD.org>2000-10-19 08:07:23 +0000
commitacb4e5b087b106c1f70674b4f37015fee2fc9890 (patch)
tree7c263d430370e0bdc5b8e2f405b09edf8456f611 /sys/pci
parentc9b6c92cc901e3f75bf123860844d35355f26147 (diff)
downloadFreeBSD-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.c2
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);
}
OpenPOWER on IntegriCloud