summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-08-25 22:04:00 +0000
committerimp <imp@FreeBSD.org>2001-08-25 22:04:00 +0000
commitddaef53997f33194cf49d91879f351a1822cd4e4 (patch)
treee663b26f1cafb1953a8e2c433ab848bec492bbb4 /sys/pccard/pcic_pci.c
parent39c95a732220777130f09ccae1a0f38a0be3bdba (diff)
downloadFreeBSD-src-ddaef53997f33194cf49d91879f351a1822cd4e4.zip
FreeBSD-src-ddaef53997f33194cf49d91879f351a1822cd4e4.tar.gz
Fix cut-and-paste-o that Nate found. We were setting csc_route twice,
rather than setting it once and setting func_route when we can't route PCI interrupts.
Diffstat (limited to 'sys/pccard/pcic_pci.c')
-rw-r--r--sys/pccard/pcic_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c
index 51539ea..e60895c 100644
--- a/sys/pccard/pcic_pci.c
+++ b/sys/pccard/pcic_pci.c
@@ -782,7 +782,7 @@ pcic_pci_attach(device_t dev)
RF_ACTIVE | RF_SHAREABLE);
if (r == NULL) {
sc->csc_route = pcic_iw_isa;
- sc->csc_route = pcic_iw_isa;
+ sc->func_route = pcic_iw_isa;
device_printf(dev,
"No PCI interrupt routed, trying ISA.\n");
}
OpenPOWER on IntegriCloud