Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc Add prototypes for ZS_TXDMA functions.
details: https://anonhg.NetBSD.org/src/rev/ffd262c11c47
branches: trunk
changeset: 543036:ffd262c11c47
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Feb 15 02:28:22 2003 +0000
description:
Add prototypes for ZS_TXDMA functions.
XXX Maybe we should have DMA hooks in MI z8530tty.
diffstat:
sys/arch/macppc/dev/zs.c | 3 +--
sys/arch/macppc/include/z8530var.h | 7 ++++++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 199ff77d77c5 -r ffd262c11c47 sys/arch/macppc/dev/zs.c
--- a/sys/arch/macppc/dev/zs.c Sat Feb 15 02:25:56 2003 +0000
+++ b/sys/arch/macppc/dev/zs.c Sat Feb 15 02:28:22 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zs.c,v 1.25 2003/01/28 12:35:32 pk Exp $ */
+/* $NetBSD: zs.c,v 1.26 2003/02/15 02:28:22 tsutsui Exp $ */
/*
* Copyright (c) 1996, 1998 Bill Studenmund
@@ -523,7 +523,6 @@
struct zsc_softc *zsc;
struct zs_chanstate *cs;
int unit = 0; /* XXX */
- extern int zstty_txdma_int();
zsc = zsc_cd.cd_devs[unit];
if (zsc == NULL)
diff -r 199ff77d77c5 -r ffd262c11c47 sys/arch/macppc/include/z8530var.h
--- a/sys/arch/macppc/include/z8530var.h Sat Feb 15 02:25:56 2003 +0000
+++ b/sys/arch/macppc/include/z8530var.h Sat Feb 15 02:28:22 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: z8530var.h,v 1.5 2002/03/17 19:40:45 atatat Exp $ */
+/* $NetBSD: z8530var.h,v 1.6 2003/02/15 02:28:23 tsutsui Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@@ -148,3 +148,8 @@
void zs_putc __P((/* register volatile struct zschan * */void *, int));
int zs_getc __P((/* register volatile struct zschan * */void *));
void zs_kgdb_init __P((void));
+
+#ifdef ZS_TXDMA
+void zstty_txdma_int __P((void *));
+void zs_dma_setup __P((struct zs_chanstate *, caddr_t, int));
+#endif
Home |
Main Index |
Thread Index |
Old Index