mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
drivers: net: ipq9574: Fix print msg in edma
This patch adds the phy type and phy address also as part of the print message during error cases which will help in quickly identifying the port configuration. Change-Id: I6762998e8bae8be8473d32e41b81ecc7e0b94885 Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
This commit is contained in:
parent
24709ce492
commit
47cf0fd956
1 changed files with 2 additions and 2 deletions
|
|
@ -2033,8 +2033,8 @@ int ipq9574_edma_init(void *edma_board_cfg)
|
|||
#endif
|
||||
default:
|
||||
if (phy_info[phy_id]->phy_type != SFP_PHY_TYPE)
|
||||
printf("\nphy chip id: 0x%x id not matching for phy id: 0x%x",
|
||||
phy_chip_id, phy_id);
|
||||
printf("\nphy chip id: 0x%x id not matching for phy id: 0x%x with phy_type: 0x%x and phy address: 0x%x",
|
||||
phy_chip_id, phy_id, phy_info[phy_id]->phy_type, phy_info[phy_id]->phy_address);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue