net: orion: generate unique port device names
Marvell Orion ethernet IP originally is multi-port capable, but SoCs
using the IP usually have multiple single-port controllers built in.
Currently, orion-gbe driver registers each port device with a constant
name, which causes a name conflict with multiple controller instances.

This patch uniquifies port device name generation by prepending
controller's base register address to resolve the name conflict.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent de20089 commit 724876deab47f7d73ad9772464ff754bfe452846
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 24 Jun 2014
Sascha Hauer committed on 25 Jun 2014
Showing 1 changed file
View
drivers/net/orion-gbe.c