esp: execute select commands immediately when it is a non-dma command
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
		
							parent
							
								
									638dfeda3e
								
							
						
					
					
						commit
						1b26eaa138
					
				
							
								
								
									
										6
									
								
								hw/esp.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								hw/esp.c
									
									
									
									
									
								
							| @ -270,7 +270,7 @@ static void handle_satn(ESPState *s) | ||||
|     uint8_t buf[32]; | ||||
|     int len; | ||||
| 
 | ||||
|     if (!s->dma_enabled) { | ||||
|     if (s->dma && !s->dma_enabled) { | ||||
|         s->dma_cb = handle_satn; | ||||
|         return; | ||||
|     } | ||||
| @ -284,7 +284,7 @@ static void handle_s_without_atn(ESPState *s) | ||||
|     uint8_t buf[32]; | ||||
|     int len; | ||||
| 
 | ||||
|     if (!s->dma_enabled) { | ||||
|     if (s->dma && !s->dma_enabled) { | ||||
|         s->dma_cb = handle_s_without_atn; | ||||
|         return; | ||||
|     } | ||||
| @ -296,7 +296,7 @@ static void handle_s_without_atn(ESPState *s) | ||||
| 
 | ||||
| static void handle_satn_stop(ESPState *s) | ||||
| { | ||||
|     if (!s->dma_enabled) { | ||||
|     if (s->dma && !s->dma_enabled) { | ||||
|         s->dma_cb = handle_satn_stop; | ||||
|         return; | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Hervé Poussineau
						Hervé Poussineau