Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2007 04:45:01 GMT
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 122183 for review
Message-ID:  <200706230445.l5N4j1MW025295@repoman.freebsd.org>

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

Change 122183 by mjacob@mjexp_sparc64 on 2007/06/23 04:45:01

	Fix 2300 and 2400 cards so that they actually work on sparc.
	Surprisingly nobody has noticed so far.

Affected files ...

.. //depot/projects/mjexp/sys/dev/isp/isp.c#22 edit

Differences ...

==== //depot/projects/mjexp/sys/dev/isp/isp.c#22 (text+ko) ====

@@ -812,7 +812,7 @@
 				}
 				cp = isp->isp_rquest;
 				for (i = 0; i < nw; i++) {
-					cp[i] = ptr[wi++];
+					ISP_IOXPUT_32(isp,  ptr[wi++], &cp[i]);
 					wl--;
 				}
 				MEMORYBARRIER(isp, SYNC_REQUEST,
@@ -855,7 +855,7 @@
 		for (;;) {
 			uint32_t nxtaddr;
 
-			isp_prt(isp, ISP_LOGDEBUG0,
+			isp_prt(isp, ISP_LOGALL,
 			    "load 0x%x words of code at load address 0x%x",
 			    ptr[3], la);
 
@@ -875,7 +875,7 @@
 				}
 				cp = isp->isp_rquest;
 				for (i = 0; i < nw; i++) {
-					cp[i] = ptr[wi++];
+					ISP_IOXPUT_16(isp,  ptr[wi++], &cp[i]);
 					wl--;
 				}
 				MEMORYBARRIER(isp, SYNC_REQUEST,



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