]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mv643xx_eth: inter-mv643xx SMI port sharing
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 23 Apr 2008 23:29:59 +0000 (01:29 +0200)
committerDale Farnsworth <dale@farnsworth.org>
Tue, 29 Apr 2008 04:17:07 +0000 (21:17 -0700)
commitce4e2e4558903ef92edf1ab4e09b0b338a09fd61
treedbfd7901022f9761214469749d19b07ba1d441b1
parent240e4419e0cfcba737883b637ec2bdcc071ea03d
mv643xx_eth: inter-mv643xx SMI port sharing

There exist chips with up to four mv643xx_eth silicon blocks but
only one external SMI (MII management) interface -- the SMI logic
of the first block is shared by all the blocks.

Handle this by allowing a per-port override of which
mv643xx_eth_shared's SMI registers (and spinlock) to use.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
drivers/net/mv643xx_eth.c
include/linux/mv643xx_eth.h