first listing
[unix-history] / usr / src / sys / vax / mba / hpreg.h
index 115cef3..b123227 100644 (file)
@@ -1,4 +1,4 @@
-/*     hpreg.h 4.6     81/03/09        */
+/*     hpreg.h 4.9     81/08/31        */
 
 struct hpdevice
 {
 
 struct hpdevice
 {
@@ -14,8 +14,10 @@ struct hpdevice
        int     hpof;           /* offset register */
        int     hpdc;           /* desired cylinder address register */
        int     hpcc;           /* current cylinder */
        int     hpof;           /* offset register */
        int     hpdc;           /* desired cylinder address register */
        int     hpcc;           /* current cylinder */
+/* on an rp drive, mr2 is called er2 and er2 is called er3 */
+/* we use rm terminology here */
+       int     hpmr2;          /* maintenance register 2 */
        int     hper2;          /* error register 2 */
        int     hper2;          /* error register 2 */
-       int     hper3;          /* error register 3 */
        int     hpec1;          /* burst error bit position */
        int     hpec2;          /* burst error bit pattern */
 };
        int     hpec1;          /* burst error bit position */
        int     hpec2;          /* burst error bit pattern */
 };
@@ -91,7 +93,7 @@ struct hpdevice
 "\10\20DCK\17UNS\16OPI\15DTE\14WLE\13IAE\12AOE\11HCRC\10HCE\
 \7ECH\6WCF\5FER\4PAR\3RMR\2ILR\1ILF"
 #define        HPER1_HARD    \
 "\10\20DCK\17UNS\16OPI\15DTE\14WLE\13IAE\12AOE\11HCRC\10HCE\
 \7ECH\6WCF\5FER\4PAR\3RMR\2ILR\1ILF"
 #define        HPER1_HARD    \
-       (HPER1_UNS|HPER1_WLE|HPER1_IAE|HPER1_AOE|\
+       (HPER1_WLE|HPER1_IAE|HPER1_AOE|\
         HPER1_FER|HPER1_RMR|HPER1_ILR|HPER1_ILF)
 
 /* hper2 */
         HPER1_FER|HPER1_RMR|HPER1_ILR|HPER1_ILF)
 
 /* hper2 */
@@ -107,7 +109,7 @@ struct hpdevice
 
 #define        HPER2_BITS \
 "\10\20BSE\17SKI\16OPE\15IVC\14LSC\13LBC\10DVC\5SSE\4DPE"
 
 #define        HPER2_BITS \
 "\10\20BSE\17SKI\16OPE\15IVC\14LSC\13LBC\10DVC\5SSE\4DPE"
-#define        HPER2_HARD    (HPER2_BSE|HPER2_OPE)
+#define        HPER2_HARD    (HPER2_OPE)
 
 /* hpof */
 #define        HPOF_CMO        0100000         /* command modifier */
 
 /* hpof */
 #define        HPOF_CMO        0100000         /* command modifier */