|
|
fixed handling of immediate error reporting on some ATAPI devices. Several devices sets ERR imediately after receiving packet with wrong parameters. We should not start DMA in such case, since it will cause timeout condition with further device reset. On the other hand, some other devices do not clear ERR immediately after successfull packet reception. Thus, if one operation failed, we cannot be sure, if the next is OK. Now driver issues SENSE_INFO if error condition is detected immediately after packet reception. This request always succeeds and clears error flag. After that it is safe to send next comand.
|