summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/vx.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/mvme88k/dev/vx.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/mvme88k/dev/vx.c')
-rw-r--r--sys/arch/mvme88k/dev/vx.c114
1 files changed, 57 insertions, 57 deletions
diff --git a/sys/arch/mvme88k/dev/vx.c b/sys/arch/mvme88k/dev/vx.c
index 21faaa482e1..4b3ace157c8 100644
--- a/sys/arch/mvme88k/dev/vx.c
+++ b/sys/arch/mvme88k/dev/vx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vx.c,v 1.17 2002/01/14 21:34:39 miod Exp $ */
+/* $OpenBSD: vx.c,v 1.18 2002/03/14 01:26:39 millert Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* All rights reserved.
@@ -103,62 +103,62 @@ struct vxsoftc {
/* prototypes */
-void *get_next_envelope __P((struct envelope *thisenv));
-struct envelope *get_status_head __P((struct vxsoftc *sc));
-void set_status_head __P((struct vxsoftc *sc, void *envp));
-struct packet *get_packet __P((struct vxsoftc *sc, struct envelope *thisenv));
-struct envelope *find_status_packet __P((struct vxsoftc *sc, struct packet * pktp));
-
-void read_wakeup __P((struct vxsoftc *sc, int port));
-int bpp_send __P((struct vxsoftc *sc, void *pkt, int wait_flag));
-
-int create_channels __P((struct vxsoftc *sc));
-int env_isvalid __P((struct envelope *thisenv));
-void memcpy2 __P((void *dest, const void *src, size_t size));
-void *get_free_envelope __P((struct vxsoftc *sc));
-void put_free_envelope __P((struct vxsoftc *sc, void *envp));
-void *get_free_packet __P((struct vxsoftc *sc));
-void put_free_packet __P((struct vxsoftc *sc, void *pktp));
-
-int vx_init __P((struct vxsoftc *sc));
-int vx_event __P((struct vxsoftc *sc, struct packet *evntp));
-
-void vx_unblock __P((struct tty *tp));
-int vx_ccparam __P((struct vxsoftc *sc, struct termios *par, int port));
-
-int vx_param __P((struct tty *tp, struct termios *t));
-int vx_intr __P((void * arg));
-int vx_sintr __P((struct vxsoftc *sc));
-int vx_poll __P((struct vxsoftc *sc, struct packet *wpktp));
-void vx_overflow __P((struct vxsoftc *sc, int port, long *ptime, u_char *msg));
-void vx_frame __P((struct vxsoftc *sc, int port));
-void vx_break __P(( struct vxsoftc *sc, int port));
-int vx_mctl __P((dev_t dev, int bits, int how));
-
-int vxmatch __P((struct device *parent, void *self, void *aux));
-void vxattach __P((struct device *parent, struct device *self, void *aux));
-
-int vxopen __P((dev_t dev, int flag, int mode, struct proc *p));
-int vxclose __P((dev_t dev, int flag, int mode, struct proc *p));
-int vxread __P((dev_t dev, struct uio *uio, int flag));
-int vxwrite __P((dev_t dev, struct uio *uio, int flag));
-int vxioctl __P((dev_t dev, int cmd, caddr_t data, int flag, struct proc *p));
-void vxstart __P((struct tty *tp));
-int vxstop __P((struct tty *tp, int flag));
-
-void vxputc __P((struct vxsoftc *sc, int port, u_char c));
-
-struct tty * vxtty __P((dev_t));
-short dtr_ctl __P((struct vxsoftc *, int, int));
-short rts_ctl __P((struct vxsoftc *, int, int));
-short flush_ctl __P((struct vxsoftc *, int, int));
-u_short vxtspeed __P((int));
-void read_chars __P((struct vxsoftc *, int));
-void ccode __P((struct vxsoftc *, int, char));
-void wzero __P((void *, size_t));
-int create_free_queue __P((struct vxsoftc *));
-void print_dump __P((struct vxsoftc *));
-struct envelope *get_cmd_tail __P((struct vxsoftc *));
+void *get_next_envelope(struct envelope *thisenv);
+struct envelope *get_status_head(struct vxsoftc *sc);
+void set_status_head(struct vxsoftc *sc, void *envp);
+struct packet *get_packet(struct vxsoftc *sc, struct envelope *thisenv);
+struct envelope *find_status_packet(struct vxsoftc *sc, struct packet * pktp);
+
+void read_wakeup(struct vxsoftc *sc, int port);
+int bpp_send(struct vxsoftc *sc, void *pkt, int wait_flag);
+
+int create_channels(struct vxsoftc *sc);
+int env_isvalid(struct envelope *thisenv);
+void memcpy2(void *dest, const void *src, size_t size);
+void *get_free_envelope(struct vxsoftc *sc);
+void put_free_envelope(struct vxsoftc *sc, void *envp);
+void *get_free_packet(struct vxsoftc *sc);
+void put_free_packet(struct vxsoftc *sc, void *pktp);
+
+int vx_init(struct vxsoftc *sc);
+int vx_event(struct vxsoftc *sc, struct packet *evntp);
+
+void vx_unblock(struct tty *tp);
+int vx_ccparam(struct vxsoftc *sc, struct termios *par, int port);
+
+int vx_param(struct tty *tp, struct termios *t);
+int vx_intr(void * arg);
+int vx_sintr(struct vxsoftc *sc);
+int vx_poll(struct vxsoftc *sc, struct packet *wpktp);
+void vx_overflow(struct vxsoftc *sc, int port, long *ptime, u_char *msg);
+void vx_frame(struct vxsoftc *sc, int port);
+void vx_break( struct vxsoftc *sc, int port);
+int vx_mctl(dev_t dev, int bits, int how);
+
+int vxmatch(struct device *parent, void *self, void *aux);
+void vxattach(struct device *parent, struct device *self, void *aux);
+
+int vxopen(dev_t dev, int flag, int mode, struct proc *p);
+int vxclose(dev_t dev, int flag, int mode, struct proc *p);
+int vxread(dev_t dev, struct uio *uio, int flag);
+int vxwrite(dev_t dev, struct uio *uio, int flag);
+int vxioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p);
+void vxstart(struct tty *tp);
+int vxstop(struct tty *tp, int flag);
+
+void vxputc(struct vxsoftc *sc, int port, u_char c);
+
+struct tty * vxtty(dev_t);
+short dtr_ctl(struct vxsoftc *, int, int);
+short rts_ctl(struct vxsoftc *, int, int);
+short flush_ctl(struct vxsoftc *, int, int);
+u_short vxtspeed(int);
+void read_chars(struct vxsoftc *, int);
+void ccode(struct vxsoftc *, int, char);
+void wzero(void *, size_t);
+int create_free_queue(struct vxsoftc *);
+void print_dump(struct vxsoftc *);
+struct envelope *get_cmd_tail(struct vxsoftc *);
struct cfattach vx_ca = {
sizeof(struct vxsoftc), vxmatch, vxattach