]> git.baikalelectronics.ru Git - kernel.git/commit
net: sh_eth: add set_mdio_gate in bb_info
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 7 Mar 2011 21:59:55 +0000 (21:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2011 21:10:16 +0000 (14:10 -0700)
commit1fd2fb7be25fafb773fa7bc45fdb24472d40fb33
tree6aef0e3284c8d567dab59e4f3432ae2b5a8c3303
parent6b2242a14af7c64d659822089b5f221ae2e6b541
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>
arch/sh/include/asm/sh_eth.h
drivers/net/sh_eth.c