BSD 4_4 release
[unix-history] / usr / src / sys / vax / stand / idc.c
index da34c60..cce0039 100644 (file)
@@ -3,20 +3,20 @@
  * 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.5 (Berkeley) %G%
+ *     @(#)idc.c       7.7 (Berkeley) 5/4/91
  */
 
 /*
  * IDC (RB730)
  */
 
  */
 
 /*
  * IDC (RB730)
  */
 
-#include "param.h"
+#include "sys/param.h"
 
 
-#include "../vax/pte.h"
-#include "../vaxuba/idcreg.h"
-#include "../vaxuba/ubareg.h"
+#include "../include/pte.h"
+#include "../uba/idcreg.h"
+#include "../uba/ubareg.h"
 
 
-#include "saio.h"
+#include "stand/saio.h"
 #include "savax.h"
 
 short  rb02_off[] = { 0, 400, 0, -1, -1, -1, -1, -1 };
 #include "savax.h"
 
 short  rb02_off[] = { 0, 400, 0, -1, -1, -1, -1, -1 };
@@ -102,7 +102,7 @@ retry:
        idcwait(idcaddr);
        idcaddr->idccsr &= ~IDC_ATTN;
        com = dn<<8;
        idcwait(idcaddr);
        idcaddr->idccsr &= ~IDC_ATTN;
        com = dn<<8;
-       if (func == READ)
+       if (func == F_READ)
                com |= IDC_READ;
        else
                com |= IDC_WRITE;
                com |= IDC_READ;
        else
                com |= IDC_WRITE;