summaryrefslogtreecommitdiffstats
path: root/sys/gnu/isdn/iitty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/isdn/iitty.c')
-rw-r--r--sys/gnu/isdn/iitty.c29
1 files changed, 26 insertions, 3 deletions
diff --git a/sys/gnu/isdn/iitty.c b/sys/gnu/isdn/iitty.c
index 3c4bf87..4304335 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.15 1995/12/05 20:33:47 bde Exp $";
+static char _ittyid[] = "@(#)$Id: iitty.c,v 1.16 1995/12/08 11:12:56 julian Exp $";
/*******************************************************************************
- * II - Version 0.1 $Revision: 1.15 $ $State: Exp $
+ * II - Version 0.1 $Revision: 1.16 $ $State: Exp $
*
* Copyright 1994 Dietmar Friede
*******************************************************************************
@@ -10,6 +10,29 @@ static char _ittyid[] = "@(#)$Id: iitty.c,v 1.15 1995/12/05 20:33:47 bde Exp
*
*******************************************************************************
* $Log: iitty.c,v $
+ * Revision 1.16 1995/12/08 11:12:56 julian
+ * Pass 3 of the great devsw changes
+ * most devsw referenced functions are now static, as they are
+ * in the same file as their devsw structure. I've also added DEVFS
+ * support for nearly every device in the system, however
+ * many of the devices have 'incorrect' names under DEVFS
+ * because I couldn't quickly work out the correct naming conventions.
+ * (but devfs won't be coming on line for a month or so anyhow so that doesn't
+ * matter)
+ *
+ * If you "OWN" a device which would normally have an entry in /dev
+ * then search for the devfs_add_devsw() entries and munge to make them right..
+ * check out similar devices to see what I might have done in them in you
+ * can't see what's going on..
+ * for a laugh compare conf.c conf.h defore and after... :)
+ * I have not doen DEVFS entries for any DISKSLICE devices yet as that will be
+ * a much more complicated job.. (pass 5 :)
+ *
+ * pass 4 will be to make the devsw tables of type (cdevsw * )
+ * rather than (cdevsw)
+ * seems to work here..
+ * complaints to the usual places.. :)
+ *
* Revision 1.15 1995/12/05 20:33:47 bde
* Fixed ity's d_stop entry. itystop() wasn't used. itystop() is inadequate
* but probably harmless. It's hard to tell because apparently no one runs
@@ -200,7 +223,7 @@ static d_stop_t itystop;
static d_ttycv_t itydevtotty;
#define CDEV_MAJOR 56
-struct cdevsw ity_cdevsw =
+static struct cdevsw ity_cdevsw =
{ ityopen, ityclose, ityread, itywrite, /*56*/
ityioctl, itystop, noreset, itydevtotty,/* ity */
ttselect, nommap, NULL, "ity", NULL, -1 };
OpenPOWER on IntegriCloud