forked from mirrors/linux
		
	 80503b23b2
			
		
	
	
		80503b23b2
		
	
	
	
	
		
			
			Based on 1 normalized pattern(s): licensed under the gpl 2 or later extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 82 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190524100845.150836982@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			511 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			511 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0-or-later */
 | |
| /*
 | |
|  * Ethernet driver for the WIZnet W5x00 chip.
 | |
|  */
 | |
| 
 | |
| #ifndef PLATFORM_DATA_WIZNET_H
 | |
| #define PLATFORM_DATA_WIZNET_H
 | |
| 
 | |
| #include <linux/if_ether.h>
 | |
| 
 | |
| struct wiznet_platform_data {
 | |
| 	int	link_gpio;
 | |
| 	u8	mac_addr[ETH_ALEN];
 | |
| };
 | |
| 
 | |
| #ifndef CONFIG_WIZNET_BUS_SHIFT
 | |
| #define CONFIG_WIZNET_BUS_SHIFT 0
 | |
| #endif
 | |
| 
 | |
| #define W5100_BUS_DIRECT_SIZE	(0x8000 << CONFIG_WIZNET_BUS_SHIFT)
 | |
| #define W5300_BUS_DIRECT_SIZE	(0x0400 << CONFIG_WIZNET_BUS_SHIFT)
 | |
| 
 | |
| #endif /* PLATFORM_DATA_WIZNET_H */
 |