mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00
net: miiphybb: Update debug() print
Update the debug() print, use __func__ to always print matching function name, and also print bus name in case there are multiple busses. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
This commit is contained in:
parent
b1001835f1
commit
30a8c830e9
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ int bb_miiphy_read(struct mii_dev *miidev, int addr, int devad, int reg)
|
|||
bus->set_mdc(bus, 1);
|
||||
bus->delay(bus);
|
||||
|
||||
debug("miiphy_read(0x%x) @ 0x%x = 0x%04x\n", reg, addr, rdreg);
|
||||
debug("%s[%s](0x%x) @ 0x%x = 0x%04x\n", __func__, miidev->name, reg, addr, rdreg);
|
||||
|
||||
return rdreg;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue