projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cccb9ee
)
new tty discipline
author
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Fri, 16 May 1980 07:53:13 +0000
(23:53 -0800)
committer
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Fri, 16 May 1980 07:53:13 +0000
(23:53 -0800)
SCCS-vsn: sys/vax/vax/conf.c 3.3
usr/src/sys/vax/vax/conf.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/sys/vax/vax/conf.c
b/usr/src/sys/vax/vax/conf.c
index
0da2ae4
..
244f520
100644
(file)
--- a/
usr/src/sys/vax/vax/conf.c
+++ b/
usr/src/sys/vax/vax/conf.c
@@
-1,4
+1,4
@@
-/* conf.c 3.
2
%H% */
+/* conf.c 3.
3
%H% */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-88,31
+88,28
@@
struct cdevsw cdevsw[] =
0,
};
0,
};
-int ttyopen(),
ttread(),nullioctl(),
ttstart();
+int ttyopen(),
ttread(), nullioctl(),
ttstart();
char *ttwrite();
int ttyinput(), ttyrend();
char *ttwrite();
int ttyinput(), ttyrend();
-#ifdef BERKNET
-int netopen(), netclose(), netread(), netinput(), netioctl();
-#endif
+int bkopen(), bkclose(), bkread(), bkinput(), bkioctl();
+int ntyopen(), ntyclose(), ntread();
+char *ntwrite();
+int ntyinput(), ntyrend();
struct linesw linesw[] =
{
ttyopen, nulldev, ttread, ttwrite, nullioctl,
ttyinput, ttyrend, nulldev, nulldev, nulldev, /* 0 */
struct linesw linesw[] =
{
ttyopen, nulldev, ttread, ttwrite, nullioctl,
ttyinput, ttyrend, nulldev, nulldev, nulldev, /* 0 */
-#ifdef BERKNET
- netopen, netclose, netread, ttwrite, netioctl,
- n
etinput, nodev, nulldev, ttstart, nulldev, /* 1 */
-#endif
+ bkopen, bkclose, bkread, ttwrite, bkioctl,
+ bkinput, nodev, nulldev, ttstart, nulldev, /* 1 */
+ n
tyopen, ntyclose, ntread, ntwrite, nullioctl,
+ ntyinput, ntyrend, nulldev, ttstart, nulldev, /* 2 */
mxopen, mxclose, mcread, mcwrite, mxioctl,
mxopen, mxclose, mcread, mcwrite, mxioctl,
- nulldev, nulldev, nulldev, nulldev, nulldev, /*
1 or 2
*/
+ nulldev, nulldev, nulldev, nulldev, nulldev, /*
3
*/
0
};
0
};
-#ifdef BERKNET
-int nldisp = 2;
-#else
-int nldisp = 1;
-#endif
+int nldisp = 3;
dev_t rootdev = makedev(0, 0);
dev_t swapdev = makedev(0, 1);
dev_t pipedev = makedev(0, 0);
dev_t rootdev = makedev(0, 0);
dev_t swapdev = makedev(0, 1);
dev_t pipedev = makedev(0, 0);