diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2011-03-07 16:59:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-14 17:10:16 -0400 |
commit | b3017e6a03d261778ad9450b5510460c4d462203 (patch) | |
tree | 6aef0e3284c8d567dab59e4f3432ae2b5a8c3303 /arch/sh | |
parent | 8fcd496151b4354569283056076339239b86fabe (diff) |
net: sh_eth: add set_mdio_gate in bb_info
The SH7757's ETHER and GETHER use common MDIO pin. The MDIO pin is
selected by specific register. So this patch adds new interface in
bb_info, and when the sh_eth driver use the mdio, the register can
be changed by the function.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/asm/sh_eth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/sh_eth.h b/arch/sh/include/asm/sh_eth.h index e86c880b7e4c..0f325da0f923 100644 --- a/arch/sh/include/asm/sh_eth.h +++ b/arch/sh/include/asm/sh_eth.h | |||
@@ -15,6 +15,7 @@ struct sh_eth_plat_data { | |||
15 | int edmac_endian; | 15 | int edmac_endian; |
16 | int register_type; | 16 | int register_type; |
17 | phy_interface_t phy_interface; | 17 | phy_interface_t phy_interface; |
18 | void (*set_mdio_gate)(unsigned long addr); | ||
18 | 19 | ||
19 | unsigned char mac_addr[6]; | 20 | unsigned char mac_addr[6]; |
20 | unsigned no_ether_link:1; | 21 | unsigned no_ether_link:1; |