]> CyberLeo.Net >> Repos - FreeBSD/releng/9.1.git/commit
MFC: r239089
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Aug 2012 09:43:03 +0000 (09:43 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 21 Aug 2012 09:43:03 +0000 (09:43 +0000)
commitfe9d8176494ed233798fba8c48072d2265adecd8
tree9cb2edb46c8092525e70a69467bb1d7aa5e4a018
parent22e34a25b4b3484903f87945e0a4fef4a33416f7
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

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.1@239488 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/esp/ncr53c9x.c