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.
This commit is contained in:
Warner Losh 2001-08-25 22:04:00 +00:00
parent b196d1ce5c
commit 5cb1fce026
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82329

View File

@ -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");
}