diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-07-08 00:44:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-09 12:51:47 -0700 |
commit | 785bf6f7904352242d187ff6087d523a4ce1b3ac (patch) | |
tree | ac6398593dc4eb29b24d7ff590237e2bf9b1941d /CREDITS | |
parent | 8c2f414ad1b3aa3af05791cd7312eb8ff9d80e0d (diff) | |
download | blackbird-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 'CREDITS')
0 files changed, 0 insertions, 0 deletions