vmci(4): Shorten interrupt descriptions.
We have no space there for such a long strings. Also it makes no sense to set description if there is only one interrupt. MFC after: 2 weeks
This commit is contained in:
parent
4f831830fa
commit
ab38c12b4a
@ -845,17 +845,17 @@ vmci_setup_interrupts(struct vmci_softc *sc)
|
||||
vmci_interrupt, NULL, &intr->vmci_handler);
|
||||
if (error)
|
||||
return (error);
|
||||
bus_describe_intr(sc->vmci_dev, intr->vmci_irq, intr->vmci_handler,
|
||||
"vmci_interrupt");
|
||||
|
||||
if (sc->vmci_num_intr == 2) {
|
||||
bus_describe_intr(sc->vmci_dev, intr->vmci_irq,
|
||||
intr->vmci_handler, "dg");
|
||||
intr = &sc->vmci_intrs[1];
|
||||
error = bus_setup_intr(sc->vmci_dev, intr->vmci_irq, flags,
|
||||
NULL, vmci_interrupt_bm, NULL, &intr->vmci_handler);
|
||||
if (error)
|
||||
return (error);
|
||||
bus_describe_intr(sc->vmci_dev, intr->vmci_irq,
|
||||
intr->vmci_handler, "vmci_interrupt_bm");
|
||||
intr->vmci_handler, "bm");
|
||||
}
|
||||
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user