Change the second argument of tiocm_to_ucom to u_long,

since the second argument of ioctl is a u_long value.
This commit is contained in:
toshii 2000-09-15 17:03:24 +00:00
parent 74662105ab
commit 8debbc34ab
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ucom.c,v 1.28 2000/09/13 05:17:14 toshii Exp $ */
/* $NetBSD: ucom.c,v 1.29 2000/09/15 17:03:24 toshii Exp $ */
/*
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@ -135,7 +135,7 @@ Static void ucom_break(struct ucom_softc *, int);
Static usbd_status ucomstartread(struct ucom_softc *);
Static void ucomreadcb(usbd_xfer_handle, usbd_private_handle, usbd_status);
Static void ucomwritecb(usbd_xfer_handle, usbd_private_handle, usbd_status);
Static void tiocm_to_ucom(struct ucom_softc *, int, int);
Static void tiocm_to_ucom(struct ucom_softc *, u_long, int);
Static int ucom_to_tiocm(struct ucom_softc *);
USB_DECLARE_DRIVER(ucom);
@ -621,7 +621,7 @@ ucom_do_ioctl(struct ucom_softc *sc, u_long cmd, caddr_t data,
}
Static void
tiocm_to_ucom(struct ucom_softc *sc, int how, int ttybits)
tiocm_to_ucom(struct ucom_softc *sc, u_long how, int ttybits)
{
u_char combits;