From 336a6f070b228b59f25b26ea4de3ac0ff1c7160f Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 4 Nov 1995 13:25:33 +0000 Subject: Moved prototypes for devswitch functions from conf.c and driver sources to . conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized. --- sys/isa/fd.c | 6 +----- sys/isa/sio.c | 12 +----------- 2 files changed, 2 insertions(+), 16 deletions(-) (limited to 'sys/isa') diff --git a/sys/isa/fd.c b/sys/isa/fd.c index bca87e1..150e692 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.66 1995/10/09 15:00:36 joerg Exp $ + * $Id: fd.c,v 1.67 1995/10/28 15:38:57 phk Exp $ * */ @@ -275,10 +275,6 @@ static int fdattach(struct isa_device *); /* exported functions */ int fdsize (dev_t); void fdintr(fdcu_t); -int Fdopen(dev_t, int, int, struct proc *); -int fdclose(dev_t, int, int, struct proc *); -void fdstrategy(struct buf *); -int fdioctl(dev_t, int, caddr_t, int, struct proc *); /* needed for ft driver, thus exported */ int in_fdc(fdcu_t); diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 0f6b33f..18d7a45 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.114 1995/10/21 00:55:25 phk Exp $ + * $Id: sio.c,v 1.115 1995/10/22 15:38:05 bde Exp $ */ #include "sio.h" @@ -256,17 +256,7 @@ void siointrts __P((int unit)); void siopoll __P((void)); /* Device switch entry points. */ -int sioopen __P((dev_t dev, int oflags, int devtype, - struct proc *p)); -int sioclose __P((dev_t dev, int fflag, int devtype, - struct proc *p)); -int sioread __P((dev_t dev, struct uio *uio, int ioflag)); -int siowrite __P((dev_t dev, struct uio *uio, int ioflag)); -int sioioctl __P((dev_t dev, int cmd, caddr_t data, - int fflag, struct proc *p)); -void siostop __P((struct tty *tp, int rw)); #define sioreset noreset -struct tty *siodevtotty __P((dev_t dev)); #define siommap nommap #define siostrategy nostrategy -- cgit v1.1