diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2007-03-06 14:13:02 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2007-03-06 14:13:02 +0000 |
| commit | 46cc919e1f150752db94cfc2937c8ae68ed4cc8f (patch) | |
| tree | 8b9c7d499f196909a2fd3a0d75942201949f07ab /sys/arch/atari/dev | |
| parent | a977b2956ff3c194b989223548e3f6ca1695a3b0 (diff) | |
Make TX buffer (uint8_t *) and remove an unnecessary cast.
Diffstat (limited to 'sys/arch/atari/dev')
| -rw-r--r-- | sys/arch/atari/dev/zs.c | 6 | ||||
| -rw-r--r-- | sys/arch/atari/dev/zsvar.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/atari/dev/zs.c b/sys/arch/atari/dev/zs.c index 2cf3b89bde8..b8d73fde4a5 100644 --- a/sys/arch/atari/dev/zs.c +++ b/sys/arch/atari/dev/zs.c @@ -1,4 +1,4 @@ -/* $NetBSD: zs.c,v 1.52 2007/03/04 05:59:41 christos Exp $ */ +/* $NetBSD: zs.c,v 1.53 2007/03/06 14:13:02 tsutsui Exp $ */ /* * Copyright (c) 1992, 1993 @@ -82,7 +82,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.52 2007/03/04 05:59:41 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.53 2007/03/06 14:13:02 tsutsui Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -821,7 +821,7 @@ again: if(tp->t_state & TS_FLUSH) tp->t_state &= ~TS_FLUSH; else ndflush(&tp->t_outq,cs->cs_tba - - (void *)tp->t_outq.c_cf); + - tp->t_outq.c_cf); line->l_start(tp); break; diff --git a/sys/arch/atari/dev/zsvar.h b/sys/arch/atari/dev/zsvar.h index d2d65ef459e..0a103a18205 100644 --- a/sys/arch/atari/dev/zsvar.h +++ b/sys/arch/atari/dev/zsvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: zsvar.h,v 1.10 2007/03/04 05:59:41 christos Exp $ */ +/* $NetBSD: zsvar.h,v 1.11 2007/03/06 14:13:02 tsutsui Exp $ */ /* * Copyright (c) 1992, 1993 @@ -155,7 +155,7 @@ struct zs_chanstate { * also be stopped for ^S; this sets TS_TTSTOP in tp->t_state. */ int cs_tbc; /* transmit byte count */ - void * cs_tba; /* transmit buffer address */ + uint8_t *cs_tba; /* transmit buffer address */ int cs_heldtbc; /* held tbc while xmission stopped */ /* |
