Subject: port-sparc/21398: missing comma in sparc/dev/obio.c #ifdef __FULL_SPARC_BUS_SPACE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <steve@paintballresource.org>
List: netbsd-bugs
Date: 04/30/2003 01:56:43
>Number: 21398
>Category: port-sparc
>Synopsis: missing comma in sparc/dev/obio.c #ifdef __FULL_SPARC_BUS_SPACE
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 30 01:57:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Steve Rumble
>Release: -current (1.6R)
>Organization:
>Environment:
NetBSD ipx 1.6R NetBSD 1.6R (GENERIC) #0: Mon Apr 28 06:52:01 UTC 2003 autobuild@tgm.daemon.org:/autobuild/HEAD/sparc/OBJ/autobuild/HEAD/src/sys/arch/sparc/compile/GENERIC sparc
>Description:
sys/arch/sparc/dev/obio.c is missing a comma after the __FULL_SPARC_BUS_SPACE #ifdef near line 112. This errors when defined, as apparently required by the nell driver.
>How-To-Repeat:
Try to build a sparc kernel with options __FULL_SPARC_BUS_SPACE
>Fix:
Index: obio.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sparc/dev/obio.c,v
retrieving revision 1.61
diff -u -r1.61 obio.c
--- obio.c 2003/04/02 04:35:28 1.61
+++ obio.c 2003/04/30 01:38:20
@@ -109,6 +109,7 @@
obio_bus_mmap, /* bus_space_mmap */
NULL /* bus_intr_establish */
#if __FULL_SPARC_BUS_SPACE
+ ,
NULL, /* read_1 */
NULL, /* read_2 */
NULL, /* read_4 */
>Release-Note:
>Audit-Trail:
>Unformatted: