1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell
Jonas Gorski 785bf6f790 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>
2013-07-09 12:51:47 -07:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-22 20:32:51 -04:00
Makefile mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv643xx_eth.c net: mv643xx_eth: do not use port number as platform device id 2013-07-09 12:51:47 -07:00
mvmdio.c net: mvmdio: get and enable optional clock 2013-04-08 16:55:26 -04:00
mvneta.c net: mvneta: read MAC address from hardware when available 2013-06-04 17:23:51 -07:00
pxa168_eth.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-07-03 14:55:13 -07:00
skge.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
skge.h skge/sky2/mv643xx/pxa168: Move the Marvell Ethernet drivers 2011-08-12 00:21:51 -07:00
sky2.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00