xref: /openbmc/linux/include/net/ethoc.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2a1702857SThierry Reding /*
3a1702857SThierry Reding  * linux/include/net/ethoc.h
4a1702857SThierry Reding  *
5a1702857SThierry Reding  * Copyright (C) 2008-2009 Avionic Design GmbH
6a1702857SThierry Reding  *
7a1702857SThierry Reding  * Written by Thierry Reding <thierry.reding@avionic-design.de>
8a1702857SThierry Reding  */
9a1702857SThierry Reding 
10a1702857SThierry Reding #ifndef LINUX_NET_ETHOC_H
11a1702857SThierry Reding #define LINUX_NET_ETHOC_H 1
12a1702857SThierry Reding 
13*949d6b40SJakub Kicinski #include <linux/if.h>
14*949d6b40SJakub Kicinski #include <linux/types.h>
15*949d6b40SJakub Kicinski 
16a1702857SThierry Reding struct ethoc_platform_data {
17a1702857SThierry Reding 	u8 hwaddr[IFHWADDRLEN];
18a1702857SThierry Reding 	s8 phy_id;
19a13aff06SMax Filippov 	u32 eth_clkfreq;
2006e60e59SMax Filippov 	bool big_endian;
21a1702857SThierry Reding };
22a1702857SThierry Reding 
23a1702857SThierry Reding #endif /* !LINUX_NET_ETHOC_H */
24