Make error handling (esp. DATA_UNDERRUN) clearer and avoid losing resid
authorkrw <krw@openbsd.org>
Wed, 17 Aug 2016 01:02:31 +0000 (01:02 +0000)
committerkrw <krw@openbsd.org>
Wed, 17 Aug 2016 01:02:31 +0000 (01:02 +0000)
commit8e9b01db2c51baf1a5093b7dded6335187cd51a6
tree3804f58ac2f481055ee2261ba9c5949f75b598d1
parent9335a048945af1585aa94cd2a35272a8bfcd9b3e
Make error handling (esp. DATA_UNDERRUN) clearer and avoid losing resid
value.

Specs from mikeb@, ok dlg@
sys/dev/ic/mpi.c
sys/dev/pci/mpii.c