Subject: kern/3319: mis-definition of ISAPNP_CC_WAIT_FOR_KEY in isapnpreg.h.
To: None <gnats-bugs@gnats.netbsd.org>
From: Kouichi Matsuda <kmatsuda@egg.math.hokudai.ac.jp>
List: netbsd-bugs
Date: 03/12/1997 17:04:51
>Number: 3319
>Category: kern
>Synopsis: mis-definition of ISAPNP_CC_WAIT_FOR_KEY in isapnpreg.h.
>Confidential: yes
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 12 00:20:00 1997
>Last-Modified:
>Originator: Kouichi Matsuda
>Organization:
Laboratory of Signal Processing, Section of Informatics and Processing,
Research Institute for Electronic Science, Hokkaido University, Japan.
>Release: -current supped at Mar 12, 1997.
>Environment:
System: NetBSD egg.math.hokudai.ac.jp 1.2 NetBSD 1.2 (COMMON) #14: Mon Mar 10 17:19:25 JST 1997 root@egg.math.hokudai.ac.jp:/usr/src/sys/arch/i386/compile/COMMON i386
>Description:
in src/sys/dev/isapnp/isapnpreg.h, ISAPNP_CC_WAIT_FOR is
defined as KEY 0x02.
it should be ISAPNP_CC_WAIT_FOR_KEY as 0x02.
^
>How-To-Repeat:
see src/sys/dev/isapnp/isapnpreg.h,
you will find KEY which is separated from ISAPNP_CC_WAIT_FOR
by space.
>Fix:
change space between ISAPNP_CC_WAIT_FOR and KEY to "_".
(apply below.)
--- isapnpreg.h.orig Sat Jan 25 21:20:01 1997
+++ isapnpreg.h Wed Mar 12 16:45:49 1997
@@ -55,7 +55,7 @@
#define ISAPNP_SERIAL_ISOLATION 0x01
#define ISAPNP_CONFIG_CONTROL 0x02
#define ISAPNP_CC_RESET 0x01
-#define ISAPNP_CC_WAIT_FOR KEY 0x02
+#define ISAPNP_CC_WAIT_FOR_KEY 0x02
#define ISAPNP_CC_RESET_CSN 0x04
#define ISAPNP_CC_RESET_DRV 0x07
#define ISAPNP_WAKE 0x03
>Audit-Trail:
>Unformatted: