This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to disable polling all 32 phy's Generic Status Register?

Other Parts Discussed in Thread: AMIC110

how to disable polling all 32 phy's Generic Status Register?
based on below in AM335x and AMIC110 SitaraTm Processors Technical Reference Manual
14.3.8.2
Functional Description
The MII Management I/F will remain idle until enabled by setting the enable bit in the MDIOControl
register. The MII Management I/F will then continuously poll the link status from within the Generic Status
Register of all possible 32 PHY addresses in turn recording the results in the MDIO link register.
issue:
when i read a specified phy register manully, found other phy's register is scanned in turn by am335x hardware.
how to disable the action of polling all 32 phy's status register from am335x hardware during i read a specified phy register?
detail below,
before read a specified phy register. read mdiocontrol register as below
root@am335x-evm:/opt# devmem2 0x4a101004
/dev/mem opened.
Memory mapped at address 0xb6f05000.
Read at address 0x4A101004 (0xb6f05004): 0x8100007C
--mdio state machine disable defaultly.
read a specified phy register manually below
root@am335x-evm:/opt# ./phyreg eth0 0
[ 72.614569] drivers/net/ethernet/ti/davinci_mdio.c, davinci_mdio_runtime_resume, 521 call davinci_mdio_enable(config CONTROL_ENABLE)
read phy addr: 0x0 reg: 0x0 value : 0x140
[ 72.735831] @jie.han drivers/net/ethernet/ti/davinci_mdio.c, davinci_mdio_runtime_suspend, 506 config ~CONTROL_ENABLE
root@am335x-evm:/opt#
the log above explains the mdio state machine is triggered to 'enable' by my read phy register action.
how to avoid to enable the mdio state machine module during my read/write specified phy register action?
thanks