]> err.no Git - linux-2.6/commit
mv643xx_eth: identify ports by struct mv643xx_private *
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 18 Mar 2008 18:36:08 +0000 (11:36 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 00:06:48 +0000 (20:06 -0400)
commitafdb57a2499a630d82b234307b1fc928088b9174
tree2bfef5d9599abd6bfc953fb01af03a5a0946c19e
parentc0d0f2caa1cd0f015aa42bbdb10cb8913bb95e4e
mv643xx_eth: identify ports by struct mv643xx_private *

Instead of identifying individual mv643xx ethernet ports by only
their port number, identify them by their struct mv643xx_private *,
as just a port number has no meaning when there are multiple
mv643xx_eth silicon blocks in the system.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Reviewed-by: Tzachi Perelstein <tzachi@marvell.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
drivers/net/mv643xx_eth.c