xref: /openbmc/linux/include/linux/ks8851_mll.h (revision 82c29810)
182c29810SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
229a6b6c0SRaffaele Recalcati /*
329a6b6c0SRaffaele Recalcati  * ks8861_mll platform data struct definition
429a6b6c0SRaffaele Recalcati  * Copyright (c) 2012 BTicino S.p.A.
529a6b6c0SRaffaele Recalcati  */
629a6b6c0SRaffaele Recalcati 
729a6b6c0SRaffaele Recalcati #ifndef _LINUX_KS8851_MLL_H
829a6b6c0SRaffaele Recalcati #define _LINUX_KS8851_MLL_H
929a6b6c0SRaffaele Recalcati 
1029a6b6c0SRaffaele Recalcati #include <linux/if_ether.h>
1129a6b6c0SRaffaele Recalcati 
1229a6b6c0SRaffaele Recalcati /**
1329a6b6c0SRaffaele Recalcati  * struct ks8851_mll_platform_data - Platform data of the KS8851_MLL network driver
1429a6b6c0SRaffaele Recalcati  * @macaddr:	The MAC address of the device, set to all 0:s to use the on in
1529a6b6c0SRaffaele Recalcati  *		the chip.
1629a6b6c0SRaffaele Recalcati  */
1729a6b6c0SRaffaele Recalcati struct ks8851_mll_platform_data {
1829a6b6c0SRaffaele Recalcati 	u8 mac_addr[ETH_ALEN];
1929a6b6c0SRaffaele Recalcati };
2029a6b6c0SRaffaele Recalcati 
2129a6b6c0SRaffaele Recalcati #endif
22