summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-07-08 00:44:55 +0200
committerDavid S. Miller <davem@davemloft.net>2013-07-09 12:51:47 -0700
commit785bf6f7904352242d187ff6087d523a4ce1b3ac (patch)
treeac6398593dc4eb29b24d7ff590237e2bf9b1941d /samples
parent8c2f414ad1b3aa3af05791cd7312eb8ff9d80e0d (diff)
downloadblackbird-op-linux-785bf6f7904352242d187ff6087d523a4ce1b3ac.tar.gz
blackbird-op-linux-785bf6f7904352242d187ff6087d523a4ce1b3ac.zip
net: mv643xx_eth: do not use port number as platform device id
The port number is only local to the ethernet block, not global, so there can be two ethernet blocks both using the same port, like kirkwood with both using port 0. Fix this by using the array index offset for the allocated platform devices as the id. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud