Module Name:    src
Committed By:   tsutsui
Date:           Sat Sep 19 07:07:43 UTC 2009

Modified Files:
        src/sys/dev/sun: bwtwo.c cgsix.c cgthree.c

Log Message:
Include "ioconf.h" instead of extern struct cfdriver foo_cd decls.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/sun/bwtwo.c
cvs rdiff -u -r1.45 -r1.46 src/sys/dev/sun/cgsix.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/sun/cgthree.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/dev/sun/bwtwo.c
diff -u src/sys/dev/sun/bwtwo.c:1.27 src/sys/dev/sun/bwtwo.c:1.28
--- src/sys/dev/sun/bwtwo.c:1.27	Sat Sep 19 04:52:44 2009
+++ src/sys/dev/sun/bwtwo.c	Sat Sep 19 07:07:42 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: bwtwo.c,v 1.27 2009/09/19 04:52:44 tsutsui Exp $ */
+/*	$NetBSD: bwtwo.c,v 1.28 2009/09/19 07:07:42 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.27 2009/09/19 04:52:44 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.28 2009/09/19 07:07:42 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -109,7 +109,7 @@
 #include "opt_wsemul.h"
 #endif
 
-extern struct cfdriver bwtwo_cd;
+#include "ioconf.h"
 
 dev_type_open(bwtwoopen);
 dev_type_ioctl(bwtwoioctl);

Index: src/sys/dev/sun/cgsix.c
diff -u src/sys/dev/sun/cgsix.c:1.45 src/sys/dev/sun/cgsix.c:1.46
--- src/sys/dev/sun/cgsix.c:1.45	Thu Aug 20 02:49:30 2009
+++ src/sys/dev/sun/cgsix.c	Sat Sep 19 07:07:43 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: cgsix.c,v 1.45 2009/08/20 02:49:30 macallan Exp $ */
+/*	$NetBSD: cgsix.c,v 1.46 2009/09/19 07:07:43 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.45 2009/08/20 02:49:30 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.46 2009/09/19 07:07:43 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -116,11 +116,11 @@
 #include <dev/sun/cgsixreg.h>
 #include <dev/sun/cgsixvar.h>
 
+#include "ioconf.h"
+
 static void	cg6_unblank(device_t);
 static void	cg6_blank(struct cgsix_softc *, int);
 
-extern struct cfdriver cgsix_cd;
-
 dev_type_open(cgsixopen);
 dev_type_close(cgsixclose);
 dev_type_ioctl(cgsixioctl);

Index: src/sys/dev/sun/cgthree.c
diff -u src/sys/dev/sun/cgthree.c:1.24 src/sys/dev/sun/cgthree.c:1.25
--- src/sys/dev/sun/cgthree.c:1.24	Fri Sep 18 16:43:19 2009
+++ src/sys/dev/sun/cgthree.c	Sat Sep 19 07:07:43 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: cgthree.c,v 1.24 2009/09/18 16:43:19 tsutsui Exp $ */
+/*	$NetBSD: cgthree.c,v 1.25 2009/09/19 07:07:43 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.24 2009/09/18 16:43:19 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.25 2009/09/19 07:07:43 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -69,13 +69,13 @@
 #include "opt_wsemul.h"
 #endif
 
+#include "ioconf.h"
+
 static void	cgthreeunblank(device_t);
 static void	cgthreeloadcmap(struct cgthree_softc *, int, int);
 static void	cgthree_set_video(struct cgthree_softc *, int);
 static int	cgthree_get_video(struct cgthree_softc *);
 
-extern struct cfdriver cgthree_cd;
-
 dev_type_open(cgthreeopen);
 dev_type_ioctl(cgthreeioctl);
 dev_type_mmap(cgthreemmap);

Reply via email to