Subject: port-sun3/7880: Recent changes in port-sparc busted port-sun3
To: None <gnats-bugs@gnats.netbsd.org>
From: Alex Barclay <alex@tfo-consulting.com>
List: netbsd-bugs
Date: 06/28/1999 21:05:43
>Number: 7880
>Category: port-sun3
>Synopsis: Recent changes in port-sparc busted port-sun3
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-sun3-maintainer (NetBSD/sun3 Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 28 21:05:01 1999
>Last-Modified:
>Originator: Alex Barclay
>Organization:
>Release: current-27061999
>Environment:
System: NetBSD wibble.tfo-consulting.com 1.4C NetBSD 1.4C (WIBBLE3X) #5: Thu Jun 17 09:22:43 MDT 1999 alex@wibble.tfo-consulting.com:/home/netbsd/src/sys/arch/sun3/compile/WIBBLE3X sun3
>Description:
A recent change in port-sparc and the mi parts for zs8530 added
a define. This breaks sun3
>How-To-Repeat:
Try to build a kernel
>Fix:
Here is a patch:
===================================================================
RCS file: /home/cvsroot/netbsd/src/sys/arch/sun3/include/z8530var.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -r1.1.1.1 -r1.2
*** z8530var.h 1999/06/27 18:59:24 1.1.1.1
--- z8530var.h 1999/06/29 03:27:38 1.2
***************
*** 73,75 ****
--- 73,81 ----
/* Zilog Serial hardware interrupts (hard-wired at 6) */
#define splzs() spl6()
+ /* We want to call it "zs" instead of "zsc" (sigh). */
+ #ifndef ZSCCF_CHANNEL
+ #define ZSCCF_CHANNEL 0
+ #define ZSCCF_CHANNEL_DEFAULT -1
+ #endif
+
>Audit-Trail:
>Unformatted: