Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/usb Pull up from current (approved by thorpej):



details:   https://anonhg.NetBSD.org/src/rev/80beb62dcac3
branches:  netbsd-1-5
changeset: 489524:80beb62dcac3
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Sep 21 20:01:09 2000 +0000

description:
Pull up from current (approved by thorpej):

Change the second argument of tiocm_to_ucom to u_long,
since the second argument of ioctl is a u_long value.

syssrc/sys/dev/usb/ucom.c               1.29

diffstat:

 sys/dev/usb/ucom.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0598e850166d -r 80beb62dcac3 sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c        Thu Sep 21 18:00:05 2000 +0000
+++ b/sys/dev/usb/ucom.c        Thu Sep 21 20:01:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom.c,v 1.24.2.3 2000/09/12 08:43:58 toshii Exp $     */
+/*     $NetBSD: ucom.c,v 1.24.2.4 2000/09/21 20:01:09 tron Exp $       */
 
 /*
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -135,7 +135,7 @@
 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);
@@ -617,7 +617,7 @@
 }
 
 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;
 



Home | Main Index | Thread Index | Old Index