Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2007 21:55:43 GMT
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 114913 for review
Message-ID:  <200702232155.l1NLth82014560@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114913

Change 114913 by mjacob@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702232155.l1NLth82014560>