generic: ar8216: don't use ethernet device name in register_switch
authorGabor Juhos <juhosg@openwrt.org>
Mon, 11 Feb 2013 16:11:31 +0000 (16:11 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 11 Feb 2013 16:11:31 +0000 (16:11 +0000)
commit371e09066560fae16851de4af371f48b4972fdac
tree3b7ee050d5a65d1a51f1b948151d1c7eddbd1ee8
parentf55f5c681aebc5cc2ad707ac18b42de485aff8eb
generic: ar8216: don't use ethernet device name in register_switch

The switches are accessed via an MDIO bus. Set the alias
to the name of the MDIO bus, and show that in the message
along with the name of the switch switch device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35560 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c