From faf55ac40c8e5ef75c2047226a2b5b2a6edf8a08 Mon Sep 17 00:00:00 2001 From: toshii Date: Sun, 17 Sep 2000 22:07:39 +0000 Subject: [PATCH] Change tiocm_to_{com,zs}'s second argument to u_long to match with the type in their caller. --- sys/dev/ic/com.c | 7 ++++--- sys/dev/ic/z8530tty.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index 098a7419c12c..0d2a48bd8c41 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.175 2000/08/18 13:22:39 sommerfeld Exp $ */ +/* $NetBSD: com.c,v 1.176 2000/09/17 22:07:39 toshii Exp $ */ /*- * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. @@ -138,7 +138,7 @@ void com_loadchannelregs __P((struct com_softc *)); void com_hwiflow __P((struct com_softc *)); void com_break __P((struct com_softc *, int)); void com_modem __P((struct com_softc *, int)); -void tiocm_to_com __P((struct com_softc *, int, int)); +void tiocm_to_com __P((struct com_softc *, u_long, int)); int com_to_tiocm __P((struct com_softc *)); void com_iflush __P((struct com_softc *)); @@ -1210,7 +1210,8 @@ com_modem(sc, onoff) void tiocm_to_com(sc, how, ttybits) struct com_softc *sc; - int how, ttybits; + u_long how; + int ttybits; { u_char combits; diff --git a/sys/dev/ic/z8530tty.c b/sys/dev/ic/z8530tty.c index aed2aa491f6c..7ca33339d7e8 100644 --- a/sys/dev/ic/z8530tty.c +++ b/sys/dev/ic/z8530tty.c @@ -1,4 +1,4 @@ -/* $NetBSD: z8530tty.c,v 1.68 2000/07/06 01:47:39 thorpej Exp $ */ +/* $NetBSD: z8530tty.c,v 1.69 2000/09/17 22:07:40 toshii Exp $ */ /*- * Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999 @@ -224,7 +224,7 @@ static void zs_shutdown __P((struct zstty_softc *)); static void zsstart __P((struct tty *)); static int zsparam __P((struct tty *, struct termios *)); static void zs_modem __P((struct zstty_softc *, int)); -static void tiocm_to_zs __P((struct zstty_softc *, int, int)); +static void tiocm_to_zs __P((struct zstty_softc *, u_long, int)); static int zs_to_tiocm __P((struct zstty_softc *)); static int zshwiflow __P((struct tty *, int)); static void zs_hwiflow __P((struct zstty_softc *)); @@ -1220,7 +1220,8 @@ zs_modem(zst, onoff) static void tiocm_to_zs(zst, how, ttybits) struct zstty_softc *zst; - int how, ttybits; + u_long how; + int ttybits; { struct zs_chanstate *cs = zst->zst_cs; u_char zsbits;