]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r239089
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Aug 2012 10:30:57 +0000 (10:30 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Aug 2012 10:30:57 +0000 (10:30 +0000)
commit624e6fc65d2ad4741c2d53a5f3722c4b16a1f163
tree886d75f016f611ed0ec0101f71b0d49a50d3a387
parent70e306008815d5124fcc1424aebc362042f5e9aa
MFC: r239089

- Merge from NetBSD:
  When issuing a non-DMA command, make sure to set the "remaining length of
  command to be transferred via DMA" (sc_cmdlen) to zero up-front, otherwise
  we might get confused on command competition interrupt (no DMA active but
  still data left to transfer).
- Implement handling of MSG_IGN_WIDE_RESIDUE which some targets produce, as
  just rejecting these leads to a resend and disconnect loop.
  Reported and tested by: mjacob

git-svn-id: svn://svn.freebsd.org/base/stable/8@239490 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/esp/ncr53c9x.c