OSDN Git Service

net: pxa168_eth: Remove HW auto-negotiaion
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 22 Oct 2014 18:26:47 +0000 (20:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Oct 2014 19:49:21 +0000 (15:49 -0400)
commit1a14913289a9d0eafbb29971229c24fbdc4c1496
treebbb4291ebf888fec9a813d3be5eae5a98ada5dfb
parent9d8ea73d3ebdf4ab8f1d2e447452fb0b504e3873
net: pxa168_eth: Remove HW auto-negotiaion

Marvell Ethernet IP supports PHY negotiation driven by HW. This
fundamentally clashes with libphy (software) driven negotiation and
also cannot cope with quirky PHYs. Therefore, always disable any HW
negotiation features and properly use libphy's phy_device.

Tested-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/pxa168_eth.c