Tool/software: Linux
Hello
I'm using dp83867 phy chip with custom board.
I'm going to read & write phy chip mdio register.
There is R/W function for register in linux driver dp83867.c
ex)
val = phy_read_mmd(phydev, DP83867_DEVADDR, DP83867_CFG4);
phy_write_mmd(phydev, DP83867_DEVADDR, DP83867_CFG4, val);
How can I use these function in user application to control register?
or another way to R/W phy chip register in user application?
Thanks in advance
billy