mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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 <[email protected]> Reviewed-by: Allison Randal <[email protected]> Reviewed-by: Kate Stewart <[email protected]> Reviewed-by: Richard Fontana <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
24 lines
511 B
C
24 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 */
|