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