xref: /OK3568_Linux_fs/kernel/include/linux/ks8851_mll.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * ks8861_mll platform data struct definition
4*4882a593Smuzhiyun  * Copyright (c) 2012 BTicino S.p.A.
5*4882a593Smuzhiyun  */
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun #ifndef _LINUX_KS8851_MLL_H
8*4882a593Smuzhiyun #define _LINUX_KS8851_MLL_H
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #include <linux/if_ether.h>
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun /**
13*4882a593Smuzhiyun  * struct ks8851_mll_platform_data - Platform data of the KS8851_MLL network driver
14*4882a593Smuzhiyun  * @macaddr:	The MAC address of the device, set to all 0:s to use the on in
15*4882a593Smuzhiyun  *		the chip.
16*4882a593Smuzhiyun  */
17*4882a593Smuzhiyun struct ks8851_mll_platform_data {
18*4882a593Smuzhiyun 	u8 mac_addr[ETH_ALEN];
19*4882a593Smuzhiyun };
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #endif
22