 f138ed5e00
			
		
	
	
		f138ed5e00
		
	
	
	
	
		
			
			Some callers instantiate the device unconditionally, others will do so only if there is a NICInfo to go with it. This appears to be fairly random, but preseve the existing behaviour for now. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Thomas Huth <thuth@redhat.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			406 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			406 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * SMSC LAN9118 Ethernet interface emulation
 | |
|  *
 | |
|  * Copyright (c) 2009 CodeSourcery, LLC.
 | |
|  * Written by Paul Brook
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2 or later.
 | |
|  * See the COPYING file in the top-level directory.
 | |
|  */
 | |
| 
 | |
| #ifndef HW_NET_LAN9118_H
 | |
| #define HW_NET_LAN9118_H
 | |
| 
 | |
| #include "net/net.h"
 | |
| 
 | |
| #define TYPE_LAN9118 "lan9118"
 | |
| 
 | |
| void lan9118_init(uint32_t, qemu_irq);
 | |
| 
 | |
| #endif
 |