uhci: renumber uhci_handle_td return codes
Step #2 (separate for better bisectability): renumber so the silly '-1' goes away. Pick a range which doesn't overlap the old values. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
		
							parent
							
								
									60e1b2a6dd
								
							
						
					
					
						commit
						0cd178ca2c
					
				@ -78,10 +78,10 @@
 | 
				
			|||||||
#define NB_PORTS 2
 | 
					#define NB_PORTS 2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum {
 | 
					enum {
 | 
				
			||||||
    TD_RESULT_STOP_FRAME = -1,
 | 
					    TD_RESULT_STOP_FRAME = 10,
 | 
				
			||||||
    TD_RESULT_COMPLETE   = 0,
 | 
					    TD_RESULT_COMPLETE,
 | 
				
			||||||
    TD_RESULT_NEXT_QH    = 1,
 | 
					    TD_RESULT_NEXT_QH,
 | 
				
			||||||
    TD_RESULT_ASYNC      = 2,
 | 
					    TD_RESULT_ASYNC,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct UHCIState UHCIState;
 | 
					typedef struct UHCIState UHCIState;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user