diff options
Diffstat (limited to 'sys/gnu/isdn/iitel.c')
-rw-r--r-- | sys/gnu/isdn/iitel.c | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/sys/gnu/isdn/iitel.c b/sys/gnu/isdn/iitel.c index 21c87e8..7d219cc 100644 --- a/sys/gnu/isdn/iitel.c +++ b/sys/gnu/isdn/iitel.c @@ -1,6 +1,6 @@ -static char _itelid[] = "@(#)$Id: iitel.c,v 1.8 1995/11/29 14:39:11 julian Exp $"; +static char _itelid[] = "@(#)$Id: iitel.c,v 1.9 1995/12/08 11:12:54 julian Exp $"; /******************************************************************************* - * II - Version 0.1 $Revision: 1.8 $ $State: Exp $ + * II - Version 0.1 $Revision: 1.9 $ $State: Exp $ * * Copyright 1994 Dietmar Friede ******************************************************************************* @@ -10,6 +10,29 @@ static char _itelid[] = "@(#)$Id: iitel.c,v 1.8 1995/11/29 14:39:11 julian E * ******************************************************************************* * $Log: iitel.c,v $ + * Revision 1.9 1995/12/08 11:12:54 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.8 1995/11/29 14:39:11 julian * If you're going to mechanically replicate something in 50 files * it's best to not have a (compiles cleanly) typo in it! (sigh) @@ -91,7 +114,7 @@ static d_write_t itelwrite; static d_ioctl_t itelioctl; #define CDEV_MAJOR 57 -struct cdevsw itel_cdevsw = +static struct cdevsw itel_cdevsw = { itelopen, itelclose, itelread, itelwrite, /*57*/ itelioctl, nostop, nullreset, nodevtotty,/* itel */ seltrue, nommap, NULL, "itel", NULL, -1 }; |