Add prototypes for ZS_TXDMA functions.

XXX Maybe we should have DMA hooks in MI z8530tty.
This commit is contained in:
tsutsui 2003-02-15 02:28:22 +00:00
parent dc45690a3d
commit 9dc8f99b73
2 changed files with 7 additions and 3 deletions

View File

@ -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)

View File

@ -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