adding debug code for Ethnernet PHY