Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Change tiocm_to_{com, zs}'s second argument to u_l...
details: https://anonhg.NetBSD.org/src/rev/b25223c9460c
branches: trunk
changeset: 497059:b25223c9460c
user: toshii <toshii%NetBSD.org@localhost>
date: Sun Sep 17 22:07:39 2000 +0000
description:
Change tiocm_to_{com,zs}'s second argument to u_long to match with
the type in their caller.
diffstat:
sys/dev/ic/com.c | 7 ++++---
sys/dev/ic/z8530tty.c | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
diffs (56 lines):
diff -r 076fc677c67f -r b25223c9460c sys/dev/ic/com.c
--- a/sys/dev/ic/com.c Sun Sep 17 21:11:09 2000 +0000
+++ b/sys/dev/ic/com.c Sun Sep 17 22:07:39 2000 +0000
@@ -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_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 @@
void
tiocm_to_com(sc, how, ttybits)
struct com_softc *sc;
- int how, ttybits;
+ u_long how;
+ int ttybits;
{
u_char combits;
diff -r 076fc677c67f -r b25223c9460c sys/dev/ic/z8530tty.c
--- a/sys/dev/ic/z8530tty.c Sun Sep 17 21:11:09 2000 +0000
+++ b/sys/dev/ic/z8530tty.c Sun Sep 17 22:07:39 2000 +0000
@@ -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 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 @@
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;
Home |
Main Index |
Thread Index |
Old Index