PERFORCE change 114913 for review
Matt Jacob
mjacob at FreeBSD.org
Fri Feb 23 21:55:44 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114913
Change 114913 by mjacob at mjexp on 2007/02/23 21:54:59
Compilation fixes from Solaris port.
Affected files ...
.. //depot/projects/mjexp/sys/dev/isp/ispmbox.h#5 edit
.. //depot/projects/mjexp/sys/dev/isp/ispreg.h#3 edit
Differences ...
==== //depot/projects/mjexp/sys/dev/isp/ispmbox.h#5 (text+ko) ====
@@ -643,7 +643,7 @@
uint16_t ms_flags;
uint16_t ms_reserved1; /* low 8 bits */
uint16_t ms_time;
- uint16_t ms_cmd_cnt; /* Command DSD count */;
+ uint16_t ms_cmd_cnt; /* Command DSD count */
uint16_t ms_tot_cnt; /* Total DSD Count */
uint8_t ms_type; /* MS type */
uint8_t ms_r_ctl; /* R_CTL */
==== //depot/projects/mjexp/sys/dev/isp/ispreg.h#3 (text+ko) ====
@@ -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 */
More information about the p4-projects
mailing list