Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2006 20:17:53 GMT
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 108058 for review
Message-ID:  <200610182017.k9IKHrOb098549@repoman.freebsd.org>

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

Change 108058 by mjacob@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);
 
 
 /*



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