net: sh_eth: fix cannot work half-duplex mode
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 5 Jul 2011 20:33:51 +0000 (20:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2011 06:41:17 +0000 (23:41 -0700)
commit91a5615203355bb34e0b9e68e94f27f24719a74c
treecfafdf3c89ee8e40a3da28de6ed88c89e1876faa
parent712ae51afd55b20c04c5383d02ba5d10233313b1
net: sh_eth: fix cannot work half-duplex mode

When link was down, the bit of DM in ECMR was always set.
So, we could not use half-duplex mode on the controller.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sh_eth.c