diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2002-06-11 02:59:16 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2002-06-11 02:59:16 +0000 |
commit | 8cfd43824906e21c597daa716eca0132db81f3d0 (patch) | |
tree | 187b6021f37b971486ae0234b589b022c80ed270 /sys/dev | |
parent | 591d4ca2d014887777cf7cdc937ba7a3d8cd5728 (diff) |
use usb_proc_ptr. (From NetBSD)
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/umodem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index 9a7aec9aa63..f7aa0f57cc4 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -1,5 +1,5 @@ -/* $OpenBSD: umodem.c,v 1.9 2002/05/07 18:29:18 nate Exp $ */ -/* $NetBSD: umodem.c,v 1.40 2001/03/25 23:02:34 augustss Exp $ */ +/* $OpenBSD: umodem.c,v 1.10 2002/06/11 02:59:15 nate Exp $ */ +/* $NetBSD: umodem.c,v 1.41 2001/11/13 06:24:56 lukem Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -137,7 +137,7 @@ Static void umodem_rts(struct umodem_softc *, int); Static void umodem_break(struct umodem_softc *, int); Static void umodem_set_line_state(struct umodem_softc *); Static int umodem_param(void *, int, struct termios *); -Static int umodem_ioctl(void *, int, u_long, caddr_t, int, struct proc *); +Static int umodem_ioctl(void *, int, u_long, caddr_t, int, usb_proc_ptr); Static int umodem_open(void *, int portno); Static void umodem_close(void *, int portno); Static void umodem_intr(usbd_xfer_handle, usbd_private_handle, usbd_status); @@ -524,7 +524,7 @@ umodem_param(void *addr, int portno, struct termios *t) int umodem_ioctl(void *addr, int portno, u_long cmd, caddr_t data, int flag, - struct proc *p) + usb_proc_ptr p) { struct umodem_softc *sc = addr; int error = 0; |