mv643xx_eth: pass port identifier to register accessors
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 18 Mar 2008 18:38:05 +0000 (11:38 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 00:06:49 +0000 (20:06 -0400)
commitec69d651ac4fe726c870a82a2a75c7da69ddf4b9
treed0ef81ef11e7c395f7738fd210990a07ac2d3ab7
parentc1b35a28f20c2d6ff8c5a2a035002c06b9f498c9
mv643xx_eth: pass port identifier to register accessors

Pass a struct mv643xx_private * to the register accessor functions,
as a preparation for having multiple mv643xx_eth silicon blocks.

(Since this causes some 80 column straddling, and the mv_ prefix
is useless anyway, rename mv_read to rdl and mv_write to wrl to
compensate.)

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