]> git.baikalelectronics.ru Git - kernel.git/commit
net: emac: fix fixed-link setup for the RTL8363SB switch
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 17 Sep 2018 15:22:40 +0000 (17:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Sep 2018 02:56:29 +0000 (19:56 -0700)
commitc6bcc090f5ee62b485e636312d83c2c10ec0988f
tree30cdc63558a8c169ec981384e629dcbfb8d54f25
parentba60d3ba09555652b0be41e53066ea35a4f7d974
net: emac: fix fixed-link setup for the RTL8363SB switch

On the Netgear WNDAP620, the emac ethernet isn't receiving nor
xmitting any frames from/to the RTL8363SB (identifies itself
as a RTL8367RB).

This is caused by the emac hardware not knowing the forced link
parameters for speed, duplex, pause, etc.

This begs the question, how this was working on the original
driver code, when it was necessary to set the phy_address and
phy_map to 0xffffffff. But I guess without access to the old
PPC405/440/460 hardware, it's not possible to know.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/emac/core.c