projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ubastd -> upstd
[unix-history]
/
usr
/
src
/
sys
/
vax
/
stand
/
idc.c
diff --git
a/usr/src/sys/vax/stand/idc.c
b/usr/src/sys/vax/stand/idc.c
index
fe8fb51
..
3d97d8d
100644
(file)
--- a/
usr/src/sys/vax/stand/idc.c
+++ b/
usr/src/sys/vax/stand/idc.c
@@
-1,20
+1,20
@@
/*
/*
- * Copyright (c) 1982, 1986 Regents of the University of California.
+ * Copyright (c) 1982, 1986
, 1988
Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)idc.c 7.
3
(Berkeley) %G%
+ * @(#)idc.c 7.
4
(Berkeley) %G%
*/
/*
* IDC (RB730)
*/
*/
/*
* IDC (RB730)
*/
-#include "../machine/pte.h"
#include "param.h"
#include "inode.h"
#include "fs.h"
#include "param.h"
#include "inode.h"
#include "fs.h"
+#include "../vax/pte.h"
#include "../vaxuba/idcreg.h"
#include "../vaxuba/ubareg.h"
#include "../vaxuba/idcreg.h"
#include "../vaxuba/ubareg.h"
@@
-36,7
+36,7
@@
idcopen(io)
register struct idcdevice *idcaddr;
register int i;
register struct idcdevice *idcaddr;
register int i;
- if (
(u_int)io->i_adapt >= MAXNUBA
)
+ if (
io->i_adapt != 0
)
return (EADAPT);
if ((u_int)io->i_ctlr >= MAXCTLR)
return (ECTLR);
return (EADAPT);
if ((u_int)io->i_ctlr >= MAXCTLR)
return (ECTLR);