|  | @@ -316,6 +316,8 @@ int scsiInitiatorRunCommand(int target_id,
 | 
											
												
													
														|  |      int status = -1;
 |  |      int status = -1;
 | 
											
												
													
														|  |      while ((phase = (SCSI_PHASE)scsiHostPhyGetPhase()) != BUS_FREE)
 |  |      while ((phase = (SCSI_PHASE)scsiHostPhyGetPhase()) != BUS_FREE)
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  | 
 |  | +        platform_poll();
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |          if (phase == MESSAGE_IN)
 |  |          if (phase == MESSAGE_IN)
 | 
											
												
													
														|  |          {
 |  |          {
 | 
											
												
													
														|  |              uint8_t dummy = 0;
 |  |              uint8_t dummy = 0;
 | 
											
										
											
												
													
														|  | @@ -674,6 +676,8 @@ bool scsiInitiatorReadDataToFile(int target_id, uint32_t start_sector, uint32_t
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      while (true)
 |  |      while (true)
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  | 
 |  | +        platform_poll();
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |          phase = (SCSI_PHASE)scsiHostPhyGetPhase();
 |  |          phase = (SCSI_PHASE)scsiHostPhyGetPhase();
 | 
											
												
													
														|  |          if (phase != DATA_IN && phase != BUS_BUSY)
 |  |          if (phase != DATA_IN && phase != BUS_BUSY)
 | 
											
												
													
														|  |          {
 |  |          {
 | 
											
										
											
												
													
														|  | @@ -708,6 +712,8 @@ bool scsiInitiatorReadDataToFile(int target_id, uint32_t start_sector, uint32_t
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      while ((phase = (SCSI_PHASE)scsiHostPhyGetPhase()) != BUS_FREE)
 |  |      while ((phase = (SCSI_PHASE)scsiHostPhyGetPhase()) != BUS_FREE)
 | 
											
												
													
														|  |      {
 |  |      {
 | 
											
												
													
														|  | 
 |  | +        platform_poll();
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |          if (phase == MESSAGE_IN)
 |  |          if (phase == MESSAGE_IN)
 | 
											
												
													
														|  |          {
 |  |          {
 | 
											
												
													
														|  |              uint8_t dummy = 0;
 |  |              uint8_t dummy = 0;
 |