diff options
| author | thorpej <thorpej@NetBSD.org> | 2021-07-24 19:14:35 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2021-07-24 19:14:35 +0000 |
| commit | 689002a005740b9bbf3f42b00df52260dca529f9 (patch) | |
| tree | f77b1188acc420f33862909793b06c85faec876f /sys/dev | |
| parent | 0e0f33afdcbceae942d3381d329127eb03c1814c (diff) | |
Report our interrupt trigger type.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/eisa/depca_eisa.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/eisa/depca_eisa.c b/sys/dev/eisa/depca_eisa.c index 6c13998a417..ceb88a571dc 100644 --- a/sys/dev/eisa/depca_eisa.c +++ b/sys/dev/eisa/depca_eisa.c @@ -1,4 +1,4 @@ -/* $NetBSD: depca_eisa.c,v 1.16 2021/07/12 16:44:52 thorpej Exp $ */ +/* $NetBSD: depca_eisa.c,v 1.17 2021/07/24 19:14:35 thorpej Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: depca_eisa.c,v 1.16 2021/07/12 16:44:52 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: depca_eisa.c,v 1.17 2021/07/24 19:14:35 thorpej Exp $"); #include "opt_inet.h" @@ -175,9 +175,11 @@ depca_eisa_intr_establish(struct depca_softc *sc, struct lance_softc *child) aprint_error("\n"); return (NULL); } - if (intrstr != NULL) - aprint_normal_dev(sc->sc_dev, "interrupting at %s\n", - intrstr); + if (intrstr != NULL) { + aprint_normal_dev(sc->sc_dev, + "interrupting at %s (%s trigger)\n", + (esc->sc_ist == IST_LEVEL) ? "level" : "edge", intrstr); + } return (rv); } |
