summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-08-21 14:22:28 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-08-21 14:22:28 +0000
commitf0e6a7a1651f29c540490689d5220eb89e6765ce (patch)
tree46cd22acf95e68fab08c76987c3efcce55746483
parent7222b3ec411457153e41be6ba95ecefe79ded9aa (diff)
From NetBSD:
#define's for FAS366 (needed for compile of esp_sbus)
-rw-r--r--sys/dev/ic/ncr53c9xreg.h10
-rw-r--r--sys/dev/ic/ncr53c9xvar.h5
2 files changed, 12 insertions, 3 deletions
diff --git a/sys/dev/ic/ncr53c9xreg.h b/sys/dev/ic/ncr53c9xreg.h
index b4aee50e0fa..cfebd6983c5 100644
--- a/sys/dev/ic/ncr53c9xreg.h
+++ b/sys/dev/ic/ncr53c9xreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9xreg.h,v 1.4 2000/06/17 18:03:11 fgsch Exp $ */
+/* $OpenBSD: ncr53c9xreg.h,v 1.5 2001/08/21 14:22:27 jason Exp $ */
/* $NetBSD: ncr53c9xreg.h,v 1.4 1997/05/17 20:56:55 pk Exp $ */
/*
@@ -252,3 +252,11 @@
#define NCRAMDCFG4_RSVD 0x13 /* Reserved */
#define NCRAMDCFG4_RAE 0x08 /* Active neg. REQ/ACK */
#define NCRAMDCFG4_RADE 0x04 /* Active neg. REQ/ACK/DAT */
+
+/*
+ * FAS366
+ */
+#define NCR_RCL NCR_TCH /* Recommand counter low */
+#define NCR_RCH 0xf /* Recommand counter high */
+#define NCR_UID NCR_RCL /* fas366 part-uniq id */
+
diff --git a/sys/dev/ic/ncr53c9xvar.h b/sys/dev/ic/ncr53c9xvar.h
index 284cb0275b6..7bf24d63808 100644
--- a/sys/dev/ic/ncr53c9xvar.h
+++ b/sys/dev/ic/ncr53c9xvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9xvar.h,v 1.7 2000/07/21 11:20:34 art Exp $ */
+/* $OpenBSD: ncr53c9xvar.h,v 1.8 2001/08/21 14:22:27 jason Exp $ */
/* $NetBSD: ncr53c9xvar.h,v 1.13 1998/05/26 23:17:34 thorpej Exp $ */
/*-
@@ -90,7 +90,8 @@
#define NCR_VARIANT_FAS408 6
#define NCR_VARIANT_FAS216 7
#define NCR_VARIANT_AM53C974 8
-#define NCR_VARIANT_MAX 9
+#define NCR_VARIANT_FAS366 9
+#define NCR_VARIANT_MAX 10
/*
* ECB. Holds additional information for each SCSI command Comments: We