Part Number:TDA2PXEVM
Tool/software: TI-RTOS
Hell all,
In reference to earlier thread for supporting marvel ethernet on custom board based on tda2px where we are using psdk3.03 sysbios all configuration. it is suggested to work in file ndk_nsp_hooks.c to support the new phy(marvel ethernet).
As per my understanding the API GMACSW_ioctl is used to write to phy devices for configurations. The argument cmd.regAddr and cmd.regVal contains the reg adress and its value to be updated to the phy.
As per Marvel device the details the write api consists of followings 1. phyAddr,
2. devAddr,
3. regAddr,
4. data
Please let us know how to accomodate the parameter devAddr in GMAC_ioctl API ?
and also will the API GMACSW_DeviceHandle hGMACSW = GMACSW_open(NULL); also initialize handle for marvel PHY ?
regards
Hrishikesh