summaryrefslogtreecommitdiff
path: root/sys/dev/ic/siopreg.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-08-05 19:05:10 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-08-05 19:05:10 +0000
commit9909f500d5c88e7e356ce340ff0103350b2607ed (patch)
tree3762107997d32a686700984270fc65fe80b5761d /sys/dev/ic/siopreg.h
parent5ad64e242e3fda6dbfa861b5c0ba5693c8a594dd (diff)
Add support for the (non-pci) NCR 53c720/770 in big-endian mode.
ok martin@, krw@, deraadt@
Diffstat (limited to 'sys/dev/ic/siopreg.h')
-rw-r--r--sys/dev/ic/siopreg.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ic/siopreg.h b/sys/dev/ic/siopreg.h
index ad138f756d7..da4d747e6f4 100644
--- a/sys/dev/ic/siopreg.h
+++ b/sys/dev/ic/siopreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: siopreg.h,v 1.10 2006/03/16 22:11:24 miod Exp $ */
+/* $OpenBSD: siopreg.h,v 1.11 2007/08/05 19:05:09 kettenis Exp $ */
/* $NetBSD: siopreg.h,v 1.16 2005/02/27 00:27:02 perry Exp $ */
/*
@@ -198,6 +198,7 @@ static const struct scf_period dt_scf_period[] = {
#define ISTAT_DIP 0x01
#define SIOP_CTEST0 0x18 /* Chip test 0, R/W */
+#define CTEST0_EHP 0x04 /* 720/770 */
#define SIOP_CTEST1 0x19 /* Chip test 1, R/W */
@@ -215,6 +216,7 @@ static const struct scf_period dt_scf_period[] = {
#define SIOP_DFIFO 0x20 /* DMA FIFO */
#define SIOP_CTEST4 0x21 /* Chip test 4, R/W */
+#define CTEST4_MUX 0x80 /* 720/770 */
#define CTEST4_BDIS 0x80
#define CTEST_ZMOD 0x40
#define CTEST_ZSD 0x20
@@ -266,7 +268,8 @@ static const struct scf_period dt_scf_period[] = {
#define SIOP_DCNTL 0x3B /* DMA control, R/W */
#define DCNTL_CLSE 0x80
#define DCNTL_PFF 0x40
-#define DCNTL_PFEN 0x20
+#define DCNTL_EA 0x20 /* 720/770 */
+#define DCNTL_PFEN 0x20 /* 8xx */
#define DCNTL_SSM 0x10
#define DCNTL_IRQM 0x08
#define DCNTL_STD 0x04