]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: updated the initialization routine for LAN87xx
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 4 Mar 2022 09:43:59 +0000 (15:13 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Mar 2022 12:45:19 +0000 (12:45 +0000)
commit620fb02c6c793ea6c752858017132b27bc5e05ff
treee97ed90c669a526692ef5adc42840d7b803ee405
parent040f794bb443f29b5059909b8c4445fe0becc3c3
net: phy: updated the initialization routine for LAN87xx

The new initialization sequence is the improvement to the existing init
routine. Init routine does soft reset, run init script and set
Hw_init. Added the new access_smi_poll_timeout() for polling smi
bank write.

Signed-off-by: Prasanna Vengateshan <prasanna.vengateshan@microchip.com>
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/microchip_t1.c