ar71xx: ag71xx: use mdio bus name in ar7240_probe messages
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 17 Dec 2013 15:12:52 +0000 (15:12 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 17 Dec 2013 15:12:52 +0000 (15:12 +0000)
commita8ffa10f54480df9775012e43ce1ae8d7c373fb4
tree373fc116423091d2c95fa0cbb2bc66303c643c38
parentc45fd03e7029c018ac8ab99a2826e1ca5557f235
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39116 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c