Subject: kern/3319: mis-definition of ISAPNP_CC_WAIT_FOR_KEY in isapnpreg.h.
To: None <>
From: Kouichi Matsuda <>
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
>Originator:     Kouichi Matsuda
  Laboratory of Signal Processing, Section of Informatics and Processing,
  Research Institute for Electronic Science, Hokkaido University, Japan.
>Release:        -current supped at Mar 12, 1997.
System: NetBSD 1.2 NetBSD 1.2 (COMMON) #14: Mon Mar 10 17:19:25 JST 1997 i386

	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.
	see src/sys/dev/isapnp/isapnpreg.h, 
	you will find KEY which is separated from ISAPNP_CC_WAIT_FOR
	by space. 
	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_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