Module Name:    src
Committed By:   tsutsui
Date:           Sun Oct 17 14:17:49 UTC 2010

Modified Files:
        src/sys/arch/dreamcast/dev/maple: maple.c mlcd.c mmemcard.c

Log Message:
Include "ioconf.h" for struct cfdriver.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/dreamcast/dev/maple/maple.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/dreamcast/dev/maple/mlcd.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/dreamcast/dev/maple/mmemcard.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/dreamcast/dev/maple/maple.c
diff -u src/sys/arch/dreamcast/dev/maple/maple.c:1.41 src/sys/arch/dreamcast/dev/maple/maple.c:1.42
--- src/sys/arch/dreamcast/dev/maple/maple.c:1.41	Sun Oct 17 14:13:44 2010
+++ src/sys/arch/dreamcast/dev/maple/maple.c	Sun Oct 17 14:17:49 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: maple.c,v 1.41 2010/10/17 14:13:44 tsutsui Exp $	*/
+/*	$NetBSD: maple.c,v 1.42 2010/10/17 14:17:49 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: maple.c,v 1.41 2010/10/17 14:13:44 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: maple.c,v 1.42 2010/10/17 14:17:49 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -89,6 +89,7 @@
 #include <dreamcast/dev/maple/maplereg.h>
 #include <dreamcast/dev/maple/mapleio.h>
 
+#include "ioconf.h"
 #include "locators.h"
 
 /* Internal macros, functions, and variables. */
@@ -160,8 +161,6 @@
 CFATTACH_DECL_NEW(maple, sizeof(struct maple_softc),
     maplematch, mapleattach, NULL, NULL);
 
-extern struct cfdriver maple_cd;
-
 dev_type_open(mapleopen);
 dev_type_close(mapleclose);
 dev_type_ioctl(mapleioctl);

Index: src/sys/arch/dreamcast/dev/maple/mlcd.c
diff -u src/sys/arch/dreamcast/dev/maple/mlcd.c:1.13 src/sys/arch/dreamcast/dev/maple/mlcd.c:1.14
--- src/sys/arch/dreamcast/dev/maple/mlcd.c:1.13	Sun Oct 17 14:13:44 2010
+++ src/sys/arch/dreamcast/dev/maple/mlcd.c	Sun Oct 17 14:17:49 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: mlcd.c,v 1.13 2010/10/17 14:13:44 tsutsui Exp $	*/
+/*	$NetBSD: mlcd.c,v 1.14 2010/10/17 14:17:49 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mlcd.c,v 1.13 2010/10/17 14:13:44 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mlcd.c,v 1.14 2010/10/17 14:17:49 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -44,6 +44,8 @@
 #include <dreamcast/dev/maple/maple.h>
 #include <dreamcast/dev/maple/mapleconf.h>
 
+#include "ioconf.h"
+
 #define MLCD_MAXACCSIZE	1012	/* (255*4) - 8  =  253*32 / 8 */
 
 struct mlcd_funcdef {	/* XXX assuming little-endian structure packing */
@@ -174,8 +176,6 @@
 CFATTACH_DECL_NEW(mlcd, sizeof(struct mlcd_softc),
     mlcdmatch, mlcdattach, mlcddetach, NULL);
 
-extern struct cfdriver mlcd_cd;
-
 /* initial image "NetBSD dreamcast" */
 static const char initimg48x32[192] = {
 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

Index: src/sys/arch/dreamcast/dev/maple/mmemcard.c
diff -u src/sys/arch/dreamcast/dev/maple/mmemcard.c:1.19 src/sys/arch/dreamcast/dev/maple/mmemcard.c:1.20
--- src/sys/arch/dreamcast/dev/maple/mmemcard.c:1.19	Sun Oct 17 14:13:44 2010
+++ src/sys/arch/dreamcast/dev/maple/mmemcard.c	Sun Oct 17 14:17:49 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: mmemcard.c,v 1.19 2010/10/17 14:13:44 tsutsui Exp $	*/
+/*	$NetBSD: mmemcard.c,v 1.20 2010/10/17 14:17:49 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mmemcard.c,v 1.19 2010/10/17 14:13:44 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mmemcard.c,v 1.20 2010/10/17 14:17:49 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -49,6 +49,8 @@
 #include <dreamcast/dev/maple/maple.h>
 #include <dreamcast/dev/maple/mapleconf.h>
 
+#include "ioconf.h"
+
 #define MMEM_MAXACCSIZE	1012	/* (255*4) - 8  =  253*32 / 8 */
 
 struct mmem_funcdef {	/* XXX assuming little-endian structure packing */
@@ -199,8 +201,6 @@
 CFATTACH_DECL_NEW(mmem, sizeof(struct mmem_softc),
     mmemmatch, mmemattach, mmemdetach, NULL);
 
-extern struct cfdriver mmem_cd;
-
 struct dkdriver mmemdkdriver = { mmemstrategy };
 
 static int

Reply via email to