i want to access ethernet phy driver from linux user space,
In uboot we can directly access phy registers using mii commands
similarly i want to read and write phy registers from linux user space .
cause there is no major or minor number comes in case of phy driver(maybe cause its a network driver) how to do it.and is it possible
There are the following
ioctl
requests for that purpose:And MII register constants are defined in:
Example: