Date: Sun, 24 Jun 2007 01:41:16 +0000 (UTC) From: Matt Jacob <mjacob@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/isp isp.c Message-ID: <200706240141.l5O1fGoY005597@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mjacob 2007-06-24 01:41:16 UTC
FreeBSD src repository
Modified files:
sys/dev/isp isp.c
Log:
If we're going to (for 23XX and 24XX cards) DMA firmware from the
request queues rather than shove it down a word at a time, we have
to remember to put it into little endian format. Use the macros
ISP_IOXPUT_{16,32} for this purpose. Otherwise, on sparc the firmware
is loaded garbled and we get a (not surprisingly) firmware checksum
failure and the card won't start and we don't attach it.
Approved by: re (bruce)
MFC after: 3 days
Revision Changes Path
1.147 +2 -2 src/sys/dev/isp/isp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706240141.l5O1fGoY005597>
