start to add msc host, fix dangerous problem with unstable device when plugged --> 200 ms delay. 50ms delay after each port reset

This commit is contained in:
hathach
2013-09-20 23:53:48 +07:00
parent 52ae0afeb6
commit f8f398a681
20 changed files with 358 additions and 105 deletions

View File

@@ -71,6 +71,11 @@ enum {
MSC_PROTOCOL_BOT = 0x50
};
enum {
MSC_REQUEST_GET_MAX_LUN = 254,
MSC_REQUEST_RESET = 255
};
//--------------------------------------------------------------------+
// SCSI Primary Command (SPC-4)