1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * linux/include/net/ethoc.h 3 * linux/include/net/ethoc.h 4 * 4 * 5 * Copyright (C) 2008-2009 Avionic Design GmbH 5 * Copyright (C) 2008-2009 Avionic Design GmbH 6 * 6 * 7 * Written by Thierry Reding <thierry.reding@a 7 * Written by Thierry Reding <thierry.reding@avionic-design.de> 8 */ 8 */ 9 9 10 #ifndef LINUX_NET_ETHOC_H 10 #ifndef LINUX_NET_ETHOC_H 11 #define LINUX_NET_ETHOC_H 1 11 #define LINUX_NET_ETHOC_H 1 12 12 13 #include <linux/if.h> << 14 #include <linux/types.h> << 15 << 16 struct ethoc_platform_data { 13 struct ethoc_platform_data { 17 u8 hwaddr[IFHWADDRLEN]; 14 u8 hwaddr[IFHWADDRLEN]; 18 s8 phy_id; 15 s8 phy_id; 19 u32 eth_clkfreq; 16 u32 eth_clkfreq; 20 bool big_endian; 17 bool big_endian; 21 }; 18 }; 22 19 23 #endif /* !LINUX_NET_ETHOC_H */ 20 #endif /* !LINUX_NET_ETHOC_H */ 24 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.