net/ethoc: support big-endian register layout

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Max Filippov
2015-09-22 14:27:16 +03:00
committed by David S. Miller
parent 1bb6aa56bb
commit 06e60e5912
2 changed files with 13 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ struct ethoc_platform_data {
u8 hwaddr[IFHWADDRLEN];
s8 phy_id;
u32 eth_clkfreq;
bool big_endian;
};
#endif /* !LINUX_NET_ETHOC_H */