summaryrefslogtreecommitdiffstats
path: root/sys/gnu/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
committerbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
commit336a6f070b228b59f25b26ea4de3ac0ff1c7160f (patch)
tree6f35ae0e7caade790223565873d04a0f034c5822 /sys/gnu/i386
parent246c28b0f93b97b2c3c8dd1984ec68e01343a509 (diff)
downloadFreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.zip
FreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.tar.gz
Moved prototypes for devswitch functions from conf.c and driver sources
to <machine/conf.h>. 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.
Diffstat (limited to 'sys/gnu/i386')
-rw-r--r--sys/gnu/i386/isa/dgb.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c
index 2c5e2fe..1e61971 100644
--- a/sys/gnu/i386/isa/dgb.c
+++ b/sys/gnu/i386/isa/dgb.c
@@ -1,5 +1,5 @@
/*-
- * dgb.c $Id: dgb.c,v 1.3 1995/10/04 21:51:24 jkh Exp $
+ * dgb.c $Id: dgb.c,v 1.4 1995/10/12 23:28:31 bde Exp $
*
* Digiboard driver.
*
@@ -156,17 +156,7 @@ void dgbintr __P((int unit));
void dgbpoll __P((void *unit_c));
/* Device switch entry points. */
-int dgbopen __P((dev_t dev, int oflags, int devtype,
- struct proc *p));
-int dgbclose __P((dev_t dev, int fflag, int devtype,
- struct proc *p));
-int dgbread __P((dev_t dev, struct uio *uio, int ioflag));
-int dgbwrite __P((dev_t dev, struct uio *uio, int ioflag));
-int dgbioctl __P((dev_t dev, int cmd, caddr_t data,
- int fflag, struct proc *p));
-void dgbstop __P((struct tty *tp, int rw));
#define dgbreset noreset
-struct tty *dgbdevtotty __P((dev_t dev));
#define dgbmmap nommap
#define dgbstrategy nostrategy
OpenPOWER on IntegriCloud