NetBSD Problem Report #22025

Received: (qmail 9170 invoked by uid 605); 1 Jul 2003 11:00:24 -0000
Message-Id: <20030701110022.0449E11152@narn.netbsd.org>
Date: Tue,  1 Jul 2003 11:00:22 +0000 (UTC)
From: m_furu-p@flow.dip.jp
Sender: gnats-bugs-owner@netbsd.org
Reply-To: m_furu-p@flow.dip.jp
To: gnats-bugs@gnats.netbsd.org
Subject: src/sys/arch/sh3/dev/sci.c does not compile
X-Send-Pr-Version: www-1.0

>Number:         22025
>Category:       port-sh3
>Synopsis:       src/sys/arch/sh3/dev/sci.c does not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sh3-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 01 11:01:00 +0000 2003
>Closed-Date:    Tue Jul 01 11:53:44 +0000 2003
>Last-Modified:  Tue Jul 01 11:53:44 +0000 2003
>Originator:     FURUKAWA Masashi
>Release:        NetBSD 1.6T
>Organization:
>Environment:
NetBSD 1.6T (NCU397D) #4: Mon Jun 23 19:29:31 JST 2003
        furukawa@kiwi-nb:/usr/src/sys/arch/evbsh3/compile/NCU397D

>Description:
src/sys/arch/sh3/dev/sci.c does not compile

/usr/obj-evbsh3/tools-evbsh3/bin/sh--netbsdelf-gcc  -ffreestanding  -O1 -Wno-parentheses -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Devbsh3 -I.  -I../../../../arch -I../../../.. -nostdinc -DSH7709A -DNCU397 -DDONT_INIT_BSC -DHZ="0x32" -DDEBUG -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT   -c ../../../../arch/sh3/dev/sci.c
../../../../arch/sh3/dev/sci.c: In function `sciintr':
../../../../arch/sh3/dev/sci.c:1183: `SCSPDR_SCP0DT' undeclared (first use in this function)
../../../../arch/sh3/dev/sci.c:1183: (Each undeclared identifier is reported only once
../../../../arch/sh3/dev/sci.c:1183: for each function it appears in.)
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch/evbsh3/compile/NCU397D

>How-To-Repeat:
config with:
options SH3
sci* at shb?

>Fix:
--- sys/arch/sh3/include/scireg.h.orig  2002-04-29 02:10:36.000000000 +0900
+++ sys/arch/sh3/include/scireg.h       2003-07-01 18:36:35.000000000 +0900
@@ -80,7 +80,7 @@
 #define        SCSPTR_SPB0DT   0x01

 #if defined(SH3)
-#define        SCPTR_SCP0DT    0x01
+#define        SCSPDR_SCP0DT   0x01
 #endif

 #endif /* !_SH3_SCIREG_ */

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: uwe 
State-Changed-When: Tue Jul 1 11:50:31 UTC 2003 
State-Changed-Why:  
Fixed in revision 1.8 of scireg.h. 
. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.