From 9dc8f99b73e912e3fc83bbc75191489934bda5a2 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sat, 15 Feb 2003 02:28:22 +0000 Subject: [PATCH] Add prototypes for ZS_TXDMA functions. XXX Maybe we should have DMA hooks in MI z8530tty. --- sys/arch/macppc/dev/zs.c | 3 +-- sys/arch/macppc/include/z8530var.h | 7 ++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sys/arch/macppc/dev/zs.c b/sys/arch/macppc/dev/zs.c index e251950fdfba..9e854fbb8aad 100644 --- a/sys/arch/macppc/dev/zs.c +++ b/sys/arch/macppc/dev/zs.c @@ -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 @@ zs_txdma_int(arg) 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 --git a/sys/arch/macppc/include/z8530var.h b/sys/arch/macppc/include/z8530var.h index 7351b6e36749..c207e32bc313 100644 --- a/sys/arch/macppc/include/z8530var.h +++ b/sys/arch/macppc/include/z8530var.h @@ -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 @@ struct zschan { 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