Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/eisa Correct the comment about the INTHIGH bit in th...
details: https://anonhg.NetBSD.org/src/rev/1e46be7cf011
branches: trunk
changeset: 984806:1e46be7cf011
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Jul 24 15:44:16 2021 +0000
description:
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".
diffstat:
sys/dev/eisa/ahbreg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 72f48b68e562 -r 1e46be7cf011 sys/dev/eisa/ahbreg.h
--- a/sys/dev/eisa/ahbreg.h Sat Jul 24 14:00:08 2021 +0000
+++ b/sys/dev/eisa/ahbreg.h Sat Jul 24 15:44:16 2021 +0000
@@ -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 @@
#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 */
Home |
Main Index |
Thread Index |
Old Index