 3c03b56370
			
		
	
	
		3c03b56370
		
	
	
	
	
		
			
			Move typedef closer to the type check macros, to make it easier to convert the code to OBJECT_DEFINE_TYPE() in the future. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Tested-By: Roman Bolshakov <r.bolshakov@yadro.com> Message-Id: <20200825192110.3528606-21-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			570 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			570 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Definitions for the ColdFire Fast Ethernet Controller emulation.
 | |
|  *
 | |
|  * This code is free software; you can redistribute it and/or modify
 | |
|  * it under the terms of the GNU General Public License as published by
 | |
|  * the Free Software Foundation; either version 2 of the License, or
 | |
|  * (at your option) any later version.
 | |
|  */
 | |
| 
 | |
| #ifndef HW_M68K_MCF_FEC_H
 | |
| #define HW_M68K_MCF_FEC_H
 | |
| 
 | |
| #define TYPE_MCF_FEC_NET "mcf-fec"
 | |
| typedef struct mcf_fec_state mcf_fec_state;
 | |
| #define MCF_FEC_NET(obj) OBJECT_CHECK(mcf_fec_state, (obj), TYPE_MCF_FEC_NET)
 | |
| 
 | |
| #define FEC_NUM_IRQ 13
 | |
| 
 | |
| #endif
 |