[qca-ssdk]: Improve phyinfo get funciton and dump it

The port id should be compared with the dts value of port id
instead of the array index.

Change-Id: I32ece7df9edeb45720e720295813e13578635659
Signed-off-by: Luo Jie <luoj@codeaurora.org>
3 files changed
tree: 51d3a70547245d4b6931ca0cb254fb8faa3aafb1
  1. app/
  2. include/
  3. make/
  4. src/
  5. ChangeLog
  6. config
  7. ko_Makefile
  8. Makefile