Subject: port-mac68k/4632: zs driver doesn't compile without DDB
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 12/03/1997 02:53:42
>Number:         4632
>Category:       port-mac68k
>Synopsis:       zs driver doesn't compile without DDB
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec  3 22:20:09 1997
>Last-Modified:
>Originator:     Dave Huang
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD 1.3_BETA as of November 3, 1997
>Environment:
	
System: NetBSD dahan.metonymy.com 1.3_BETA NetBSD 1.3_BETA (SPIFF) #167: Mon Dec 1 01:33:18 CST 1997 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386


>Description:
	The zs driver (zs.c) won't compile if DDB isn't in the kernel.
>How-To-Repeat:
	Try to compile a kernel with zsc, but without "options DDB"
>Fix:
	Maybe something like:

--- /usr/src/sys/arch/mac68k/dev/zs.c	Wed Nov  5 07:36:02 1997
+++ zs.c	Wed Dec  3 02:42:52 1997
@@ -1102,6 +1102,8 @@
 	/* If we time out, turn off the abort ability! */
 	}
 
+#ifdef DDB
 	Debugger();
+#endif
 }
 

>Audit-Trail:
>Unformatted: