aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp/ispreg.h
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2007-02-23 21:59:21 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2007-02-23 21:59:21 +0000
commitaf4394d40ac13e07d87b5cf74bb0c20230136a70 (patch)
treee1dda1ed7cf4788607a78daa769c18e59272fa1e /sys/dev/isp/ispreg.h
parent217d9e4862c718d4bc3e936cd245ea56c2aa21cc (diff)
Notes
Diffstat (limited to 'sys/dev/isp/ispreg.h')
-rw-r--r--sys/dev/isp/ispreg.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/isp/ispreg.h b/sys/dev/isp/ispreg.h
index 57b58772b9abe..25ad07a4622aa 100644
--- a/sys/dev/isp/ispreg.h
+++ b/sys/dev/isp/ispreg.h
@@ -409,14 +409,14 @@
/* BIU2400_HCCR definitions */
-#define HCCR_2400_CMD_NOP (0x0 << 28)
-#define HCCR_2400_CMD_RESET (0x1 << 28)
-#define HCCR_2400_CMD_CLEAR_RESET (0x2 << 28)
-#define HCCR_2400_CMD_PAUSE (0x3 << 28)
-#define HCCR_2400_CMD_RELEASE (0x4 << 28)
-#define HCCR_2400_CMD_SET_HOST_INT (0x5 << 28)
-#define HCCR_2400_CMD_CLEAR_HOST_INT (0x6 << 28)
-#define HCCR_2400_CMD_CLEAR_RISC_INT (0xA << 28)
+#define HCCR_2400_CMD_NOP 0x00000000
+#define HCCR_2400_CMD_RESET 0x10000000
+#define HCCR_2400_CMD_CLEAR_RESET 0x20000000
+#define HCCR_2400_CMD_PAUSE 0x30000000
+#define HCCR_2400_CMD_RELEASE 0x40000000
+#define HCCR_2400_CMD_SET_HOST_INT 0x50000000
+#define HCCR_2400_CMD_CLEAR_HOST_INT 0x60000000
+#define HCCR_2400_CMD_CLEAR_RISC_INT 0xA0000000
#define HCCR_2400_RISC_ERR(x) (((x) >> 12) & 0x7) /* RO */
#define HCCR_2400_RISC2HOST_INT (1 << 6) /* RO */