summaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1995-02-28 00:21:11 +0000
committerPaul Traina <pst@FreeBSD.org>1995-02-28 00:21:11 +0000
commit8c5c37cd75a4a04aaabf0cbc8ad95664aeb45380 (patch)
tree91c6a33544eb4628383ab7c05b8571d00b6f35d3 /sys/gnu
parentdb312e66977ef135629288a5450d232fc8385ccb (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/isdn/iitty.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/sys/gnu/isdn/iitty.c b/sys/gnu/isdn/iitty.c
index 0ca62f5ff6c6..a58793bda12b 100644
--- a/sys/gnu/isdn/iitty.c
+++ b/sys/gnu/isdn/iitty.c
@@ -1,6 +1,6 @@
-static char _ittyid[] = "@(#)$Id: iitty.c,v 1.2 1995/02/15 06:28:28 jkh Exp $";
+static char _ittyid[] = "@(#)$Id: iitty.c,v 1.3 1995/02/25 20:08:52 pst Exp $";
/*******************************************************************************
- * II - Version 0.1 $Revision: 1.2 $ $State: Exp $
+ * II - Version 0.1 $Revision: 1.3 $ $State: Exp $
*
* Copyright 1994 Dietmar Friede
*******************************************************************************
@@ -10,6 +10,15 @@ static char _ittyid[] = "@(#)$Id: iitty.c,v 1.2 1995/02/15 06:28:28 jkh Exp
*
*******************************************************************************
* $Log: iitty.c,v $
+ * Revision 1.3 1995/02/25 20:08:52 pst
+ * (a) remove the pointer to each driver's tty structure array from cdevsw
+ * (b) add a function callback vector to tty drivers that will return a pointer
+ * to a valid tty structure based upon a dev_t
+ * (c) make syscons structures the same size whether or not APM is enabled so
+ * utilities don't crash if NAPM changes (and make the damn kernel compile!)
+ * (d) rewrite /dev/snp ioctl interface so that it is device driver and i386
+ * independant
+ *
* Revision 1.2 1995/02/15 06:28:28 jkh
* Fix up include paths, nuke some warnings.
*
@@ -334,14 +343,4 @@ itydevtotty(dev_t dev)
return (&ity_tty[unit]);
}
-int
-ityselect(dev_t dev, int rw, struct proc *p)
-{
- register int unit = UNIT(dev);
- if (unit >= next_if)
- return (ENXIO);
-
- return (ttyselect(&ity_tty[unit], rw, p));
-}
-
#endif