PERFORCE change 122183 for review
Matt Jacob
mjacob at FreeBSD.org
Sat Jun 23 04:45:02 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122183
Change 122183 by mjacob at 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,
More information about the p4-projects
mailing list