hw/net/stellaris_enet: Fix a typo
Suggested-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180624040609.17572-12-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
		
							parent
							
								
									9194524b0d
								
							
						
					
					
						commit
						5786e35da7
					
				@ -340,7 +340,7 @@ static uint64_t stellaris_enet_read(void *opaque, hwaddr offset,
 | 
				
			|||||||
        return s->np;
 | 
					        return s->np;
 | 
				
			||||||
    case 0x38: /* TR */
 | 
					    case 0x38: /* TR */
 | 
				
			||||||
        return 0;
 | 
					        return 0;
 | 
				
			||||||
    case 0x3c: /* Undocuented: Timestamp? */
 | 
					    case 0x3c: /* Undocumented: Timestamp? */
 | 
				
			||||||
        return 0;
 | 
					        return 0;
 | 
				
			||||||
    default:
 | 
					    default:
 | 
				
			||||||
        hw_error("stellaris_enet_read: Bad offset %x\n", (int)offset);
 | 
					        hw_error("stellaris_enet_read: Bad offset %x\n", (int)offset);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user