]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel: Add config_init for LAN8814
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 23 Dec 2021 08:28:26 +0000 (09:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Dec 2021 10:48:34 +0000 (10:48 +0000)
commitda6de3ab3853b1d71e51523b5a027a32e552f87f
treec5f452a4900967f6c7022a0e5ae8f5fe7e6246d7
parentcc494ac2014aa683e85e40a843b4c0eaa3c2da16
net: phy: micrel: Add config_init for LAN8814

Add config_init for LAN8814. This function is required for the following
reasons:
- we need to make sure that the PHY is reset,
- disable ANEG with QSGMII PCS Host side
- swap the MDI-X A,B transmit so that there will not be any link flip-flaps
  when the PHY gets a link.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c