ar71xx: ag71xx: use mdio bus name in ar7240_probe messages
authorGabor Juhos <juhosg@openwrt.org>
Tue, 17 Dec 2013 15:12:52 +0000 (15:12 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 17 Dec 2013 15:12:52 +0000 (15:12 +0000)
commitea89cc9250dc5f303925d2d91cbad8bb69b9d924
treedf0d422162fdeeccdf14484ec564cd483f655fea
parent0d7a6748e10baf9b9f6da1d9306dccc605ab5651
ar71xx: ag71xx: use mdio bus name in ar7240_probe messages

The ar7240_probe function uses the network device name
in the kernel log messages, however the name is not yet
initialized when the ar7240_probe function is called.
Use the mdio bus name in the messages to avoid ugly
log lines like the following one:

  eth%d: Found an AR7240/AR9330 built-in switch

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39116
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c