]> git.baikalelectronics.ru Git - kernel.git/commit
net: xilinx: axiethernet: Introduce helper functions for MDC enable/disable
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Tue, 3 Nov 2020 11:26:09 +0000 (16:56 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Nov 2020 19:13:51 +0000 (11:13 -0800)
commit1d5c42b9f9f9a3c4c4b1f30af3363abc74e22e82
tree94199902d223fcc5fb9c3e0aa14f0a7237e7f5d1
parent6d737489e6dc262efb8028bc1d925a9dc51bb82b
net: xilinx: axiethernet: Introduce helper functions for MDC enable/disable

Introduce helper functions to enable/disable MDIO interface clock. This
change serves a preparatory patch for the coming feature to dynamically
control the management bus clock.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c