+void printPortPhysState(uint8_t physState){ \r
+ switch(physState){\r
+ case 1:\r
+ printf("\t\tport_phys_state=SLEEP (%d)\n",physState);\r
+ break;\r
+ case 2:\r
+ printf("\t\tport_phys_state=POLLING (%d)\n",physState);\r
+ break;\r
+ case 3:\r
+ printf("\t\tport_phys_state=DISABLED (%d)\n",physState);\r
+ break;\r
+ case 4:\r
+ printf("\t\tport_phys_state=CFG_TRAINING (%d)\n",physState);\r
+ break;\r
+ case 5:\r
+ printf("\t\tport_phys_state=LINK_UP (%d)\n",physState);\r
+ break;\r
+ case 6:\r
+ printf("\t\tport_phys_state=LINK_ERROR_RECOVERY (%d)\n",physState);\r
+ break;\r
+ case 7:\r
+ printf("\t\tport_phys_state=PHY_TEST (%d)\n",physState);\r
+ break;\r
+ default:\r
+ printf("\t\tport_phys_state=UNKNOWN (%d)\n",physState); \r
+ }\r
+}\r
+\r