Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/dev Include ioconf.h for struct cfdriver.



details:   https://anonhg.NetBSD.org/src/rev/8b4345bbec33
branches:  trunk
changeset: 753758:8b4345bbec33
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Apr 09 11:30:19 2010 +0000

description:
Include ioconf.h for struct cfdriver.

diffstat:

 sys/arch/atari/dev/zs.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 52adbb5283bd -r 8b4345bbec33 sys/arch/atari/dev/zs.c
--- a/sys/arch/atari/dev/zs.c   Fri Apr 09 11:27:21 2010 +0000
+++ b/sys/arch/atari/dev/zs.c   Fri Apr 09 11:30:19 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zs.c,v 1.64 2009/07/19 05:46:15 tsutsui Exp $  */
+/*     $NetBSD: zs.c,v 1.65 2010/04/09 11:30:19 tsutsui Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.64 2009/07/19 05:46:15 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.65 2010/04/09 11:30:19 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -103,6 +103,9 @@
 
 #include <dev/ic/z8530reg.h>
 #include <atari/dev/zsvar.h>
+
+#include "ioconf.h"
+
 #include "zs.h"
 #if NZS > 1
 #error "This driver supports only 1 85C30!"
@@ -223,8 +226,6 @@
 CFATTACH_DECL(zs, sizeof(struct zs_softc),
     zsmatch, zsattach, NULL, NULL);
 
-extern struct cfdriver zs_cd;
-
 /* {b,c}devsw[] function prototypes */
 dev_type_open(zsopen);
 dev_type_close(zsclose);



Home | Main Index | Thread Index | Old Index