Module Name:    src
Committed By:   thorpej
Date:           Sat Jul 24 15:44:16 UTC 2021

Modified Files:
        src/sys/dev/eisa: ahbreg.h

Log Message:
Correct the comment about the INTHIGH bit in the INTDEF register.  It
does indeed mean "IRQ signal is active-high", but "else edge" is not
correct; level-triggered EISA interrupt are active-low, and edge-triggered
EISA interrupts are rising-edge, so INTHIGH would in fact mean "edge".


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

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/ahbreg.h
diff -u src/sys/dev/eisa/ahbreg.h:1.16 src/sys/dev/eisa/ahbreg.h:1.17
--- src/sys/dev/eisa/ahbreg.h:1.16	Mon Apr 28 20:23:48 2008
+++ src/sys/dev/eisa/ahbreg.h	Sat Jul 24 15:44:16 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: ahbreg.h,v 1.16 2008/04/28 20:23:48 martin Exp $	*/
+/*	$NetBSD: ahbreg.h,v 1.17 2021/07/24 15:44:16 thorpej Exp $	*/
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@ typedef u_int32_t physlen;
 #define	INT12	0x03
 #define	INT14	0x05
 #define	INT15	0x06
-#define INTHIGH 0x08		/* int high=ACTIVE (else edge) */
+#define INTHIGH 0x08		/* interrupt signal is active-high */
 #define	INTEN	0x10
 /**** bit definitions for SCSIDEF ****/
 #define	HSCSIID	0x0F		/* our SCSI ID */

Reply via email to