Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/dev Include "ioconf.h" for struct cfdriver *_...
details: https://anonhg.NetBSD.org/src/rev/8992987645c1
branches: trunk
changeset: 574827:8992987645c1
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Mon Mar 14 12:50:33 2005 +0000
description:
Include "ioconf.h" for struct cfdriver *_cd decls.
diffstat:
sys/arch/hp300/dev/ct.c | 8 ++++----
sys/arch/hp300/dev/dcm.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 8800e5876017 -r 8992987645c1 sys/arch/hp300/dev/ct.c
--- a/sys/arch/hp300/dev/ct.c Mon Mar 14 11:50:17 2005 +0000
+++ b/sys/arch/hp300/dev/ct.c Mon Mar 14 12:50:33 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ct.c,v 1.40 2005/02/05 16:19:35 chs Exp $ */
+/* $NetBSD: ct.c,v 1.41 2005/03/14 12:50:33 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.40 2005/02/05 16:19:35 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.41 2005/03/14 12:50:33 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -99,6 +99,8 @@
#include <hp300/dev/ctreg.h>
+#include "ioconf.h"
+
/* number of eof marks to remember */
#define EOFS 128
@@ -150,8 +152,6 @@
CFATTACH_DECL(ct, sizeof(struct ct_softc),
ctmatch, ctattach, NULL, NULL);
-extern struct cfdriver ct_cd;
-
static dev_type_open(ctopen);
static dev_type_close(ctclose);
static dev_type_read(ctread);
diff -r 8800e5876017 -r 8992987645c1 sys/arch/hp300/dev/dcm.c
--- a/sys/arch/hp300/dev/dcm.c Mon Mar 14 11:50:17 2005 +0000
+++ b/sys/arch/hp300/dev/dcm.c Mon Mar 14 12:50:33 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dcm.c,v 1.65 2004/08/28 17:37:00 thorpej Exp $ */
+/* $NetBSD: dcm.c,v 1.66 2005/03/14 12:50:33 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -123,7 +123,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.65 2004/08/28 17:37:00 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.66 2005/03/14 12:50:33 tsutsui Exp $");
#include "opt_kgdb.h"
@@ -148,6 +148,8 @@
#include <hp300/dev/diodevs.h>
#include <hp300/dev/dcmreg.h>
+#include "ioconf.h"
+
#ifndef DEFAULT_BAUD_RATE
#define DEFAULT_BAUD_RATE 9600
#endif
@@ -361,8 +363,6 @@
int dcmdefaultrate = DEFAULT_BAUD_RATE;
int dcmconbrdbusy = 0;
-extern struct cfdriver dcm_cd;
-
static dev_type_open(dcmopen);
static dev_type_close(dcmclose);
static dev_type_read(dcmread);
Home |
Main Index |
Thread Index |
Old Index