BSD 4_3_Reno release
[unix-history] / usr / src / sys / tahoestand / vd.c
index 556088c..9606827 100644 (file)
@@ -1,19 +1,41 @@
-/*     vd.c    7.10    88/06/14        */
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Computer Consoles Inc.
+ *
+ * Redistribution is only permitted until one year after the first shipment
+ * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
+ * binary forms are permitted provided that: (1) source distributions retain
+ * this entire copyright notice and comment, and (2) distributions including
+ * binaries display the following acknowledgement:  This product includes
+ * software developed by the University of California, Berkeley and its
+ * contributors'' in the documentation or other materials provided with the
+ * distribution and in all advertising materials mentioning features or use
+ * of this software.  Neither the name of the University nor the names of
+ * its contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ *     @(#)vd.c        7.16 (Berkeley) 6/30/90
+ */
 
 /*
  * Stand alone driver for the VDDC/SMDE controller 
  */
 
 /*
  * Stand alone driver for the VDDC/SMDE controller 
  */
-#include "../machine/mtpr.h"
+#include "machine/mtpr.h"
 
 
-#include "param.h"
-#include "inode.h"
-#include "fs.h"
-#include "buf.h"
-#include "disklabel.h"
+#include "sys/param.h"
+#include "sys/time.h"
+#include "sys/buf.h"
+#include "sys/disklabel.h"
 #include "saio.h"
 
 #include "saio.h"
 
-#include "../tahoevba/vdreg.h"
-#include "../tahoevba/vbaparam.h"
+#include "tahoevba/vdreg.h"
+#include "tahoevba/vbaparam.h"
 
 #define        COMPAT_42       1
 
 
 #define        COMPAT_42       1
 
@@ -122,7 +144,7 @@ vdreset_ctlr(ctlr, unit)
                vdaddr->vdtcf_dcb = AM_ENPDA;
                vdaddr->vdtcf_trail = AM_ENPDA;
                vdaddr->vdtcf_data = AM_ENPDA;
                vdaddr->vdtcf_dcb = AM_ENPDA;
                vdaddr->vdtcf_trail = AM_ENPDA;
                vdaddr->vdtcf_data = AM_ENPDA;
-               vdaddr->vdccf = CCF_SEN | CCF_DER | CCF_STS |
+               vdaddr->vdccf = CCF_SEN | CCF_DIU | CCF_STS |
                    XMD_32BIT | BSZ_16WRD |
                    CCF_ENP | CCF_EPE | CCF_EDE | CCF_ECE | CCF_ERR;
        }
                    XMD_32BIT | BSZ_16WRD |
                    CCF_ENP | CCF_EPE | CCF_EDE | CCF_ECE | CCF_ERR;
        }