net/sh-eth: Add support selecting MII function for SH7734 and R8A7740
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Mon, 25 Jun 2012 17:34:14 +0000 (17:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2012 06:54:32 +0000 (23:54 -0700)
commit5e7a76be0e48217aff6b6f34bdcce4725db999e2
treedf608a434dd29946445d9ad9965606654ed990ea
parent4dc27d1cf3b3027b9ce654221c559e88b2f41b33
net/sh-eth: Add support selecting MII function for SH7734 and R8A7740

Ethernet IP of SH7734 and R8A7740 has selecting MII register.
The user needs to change a value according to MII to be used.
This adds the function to change the value of this register.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h