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:
Alexander Motin 2021-07-22 12:58:10 -04:00
parent 4f831830fa
commit ab38c12b4a

View File

@ -845,17 +845,17 @@ vmci_setup_interrupts(struct vmci_softc *sc)
vmci_interrupt, NULL, &intr->vmci_handler); vmci_interrupt, NULL, &intr->vmci_handler);
if (error) if (error)
return (error); return (error);
bus_describe_intr(sc->vmci_dev, intr->vmci_irq, intr->vmci_handler,
"vmci_interrupt");
if (sc->vmci_num_intr == 2) { if (sc->vmci_num_intr == 2) {
bus_describe_intr(sc->vmci_dev, intr->vmci_irq,
intr->vmci_handler, "dg");
intr = &sc->vmci_intrs[1]; intr = &sc->vmci_intrs[1];
error = bus_setup_intr(sc->vmci_dev, intr->vmci_irq, flags, error = bus_setup_intr(sc->vmci_dev, intr->vmci_irq, flags,
NULL, vmci_interrupt_bm, NULL, &intr->vmci_handler); NULL, vmci_interrupt_bm, NULL, &intr->vmci_handler);
if (error) if (error)
return (error); return (error);
bus_describe_intr(sc->vmci_dev, intr->vmci_irq, bus_describe_intr(sc->vmci_dev, intr->vmci_irq,
intr->vmci_handler, "vmci_interrupt_bm"); intr->vmci_handler, "bm");
} }
return (0); return (0);