aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2021-07-22 16:58:10 +0000
committerAlexander Motin <mav@FreeBSD.org>2021-08-05 00:35:08 +0000
commitb3ffcbec1ccb4832529408e4a391cf9a62ddd54d (patch)
treeb22514abea8050d4b898d04478d683ec0c4a9263
parentc94af0dbb7c79978433662a1d31d1e50f86e4515 (diff)
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 (cherry picked from commit ab38c12b4a488c011ea85252621430ded6e87139)
-rw-r--r--sys/dev/vmware/vmci/vmci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/vmware/vmci/vmci.c b/sys/dev/vmware/vmci/vmci.c
index 82e23daa4c71..3f195231d8e2 100644
--- a/sys/dev/vmware/vmci/vmci.c
+++ b/sys/dev/vmware/vmci/vmci.c
@@ -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);