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