PERFORCE change 108058 for review

Matt Jacob mjacob at FreeBSD.org
Wed Oct 18 13:17:54 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=108058

Change 108058 by mjacob at newisp on 2006/10/18 20:17:10

	ISR reads should have the semaphore and mailbox pointers
	as pointers to 16 bit quantities- not 32 bit quantities.
	
	Put in an sdparam tag for PTISP SBus cards.

Affected files ...

.. //depot/projects/newisp/dev/isp/ispvar.h#7 edit

Differences ...

==== //depot/projects/newisp/dev/isp/ispvar.h#7 (text+ko) ====

@@ -56,7 +56,7 @@
 typedef struct ispsoftc ispsoftc_t;
 struct ispmdvec {
 	int		(*dv_rd_isr)
-	    (ispsoftc_t *, uint32_t *, uint32_t *, uint32_t *);
+	    (ispsoftc_t *, uint32_t *, uint16_t *, uint16_t *);
 	uint32_t	(*dv_rd_reg) (ispsoftc_t *, int);
 	void		(*dv_wr_reg) (ispsoftc_t *, int, uint32_t);
 	int		(*dv_mbxdma) (ispsoftc_t *);
@@ -166,6 +166,7 @@
 			isp_cmd_dma_burst_enable: 1,
 			isp_data_dma_burst_enabl: 1,
 			isp_fifo_threshold	: 3,
+			isp_ptisp		: 1,
 			isp_ultramode		: 1,
 			isp_diffmode		: 1,
 			isp_lvdmode		: 1,
@@ -691,7 +692,7 @@
  * semaphore register and first mailbox register (if appropriate). This also
  * means that most spurious/bogus interrupts not for us can be filtered first.
  */
-void isp_intr(ispsoftc_t *, uint32_t, uint32_t, uint16_t);
+void isp_intr(ispsoftc_t *, uint32_t, uint16_t, uint16_t);
 
 
 /*


More information about the p4-projects mailing list