diff options
author | Kimmo Lindholm <kimmo@eke.fi> | 2017-10-21 12:40:02 +0300 |
---|---|---|
committer | Kimmo Lindholm <kimmo@eke.fi> | 2017-10-21 13:36:49 +0300 |
commit | 9f2ee0a227b58b80f7f45ebed30d4108fa14d5bd (patch) | |
tree | 0da2c160bfd4fed9df136d4c5c51bf2bd22c0234 /testhal/STM32/STM32F3xx | |
parent | 406d932f09b3a232a98399088cafc5b7950f9cbe (diff) | |
download | ChibiOS-Contrib-9f2ee0a227b58b80f7f45ebed30d4108fa14d5bd.tar.gz ChibiOS-Contrib-9f2ee0a227b58b80f7f45ebed30d4108fa14d5bd.tar.bz2 ChibiOS-Contrib-9f2ee0a227b58b80f7f45ebed30d4108fa14d5bd.zip |
SCSI: Respond to TEST UNIT READY command, Fix REQUEST SENSE replying
When host sends TEST UNIT READY command, set sense 'all ok' if block device reports
that medium is inserted, or set sense 'medium not present' if medium is not inserted.
Do not override sense by default with 'all ok', allow REQUEST SENSE command
to be responded with correct sense data which was set on last failure.
Check just DESC bit when responding to REQUEST SENSE command.
Diffstat (limited to 'testhal/STM32/STM32F3xx')
0 files changed, 0 insertions, 0 deletions