You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
net: sh_eth: add value of ether_link pin in platform_data
The method of ETHER_LINK pin is board dependence. This patch adding paramters are: - no_ether_link : If set to 1, do not use ETHER_LINK - ether_link_active_low : If set to 1, ETHER_LINK is active low. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2db9517ef3
commit
4923576b8a
@@ -729,6 +729,9 @@ struct sh_eth_private {
|
||||
char post_rx; /* POST receive */
|
||||
char post_fw; /* POST forward */
|
||||
struct net_device_stats tsu_stats; /* TSU forward status */
|
||||
|
||||
unsigned no_ether_link:1;
|
||||
unsigned ether_link_active_low:1;
|
||||
};
|
||||
|
||||
static inline void sh_eth_soft_swap(char *src, int len)
|
||||
|
||||
Reference in New Issue
Block a user