Module Name:    src
Committed By:   thorpej
Date:           Sat Jul 24 19:14:35 UTC 2021

Modified Files:
        src/sys/dev/eisa: depca_eisa.c

Log Message:
Report our interrupt trigger type.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/eisa/depca_eisa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/eisa/depca_eisa.c
diff -u src/sys/dev/eisa/depca_eisa.c:1.16 src/sys/dev/eisa/depca_eisa.c:1.17
--- src/sys/dev/eisa/depca_eisa.c:1.16	Mon Jul 12 16:44:52 2021
+++ src/sys/dev/eisa/depca_eisa.c	Sat Jul 24 19:14:35 2021
@@ -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_s
 		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);
 }

Reply via email to