diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-04-23 19:29:59 -0400 |
---|---|---|
committer | Dale Farnsworth <dale@farnsworth.org> | 2008-04-29 00:17:07 -0400 |
commit | ce4e2e4558903ef92edf1ab4e09b0b338a09fd61 (patch) | |
tree | dbfd7901022f9761214469749d19b07ba1d441b1 /include/linux/mv643xx_eth.h | |
parent | 240e4419e0cfcba737883b637ec2bdcc071ea03d (diff) |
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>
Diffstat (limited to 'include/linux/mv643xx_eth.h')
-rw-r--r-- | include/linux/mv643xx_eth.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h index 66dc9571922a..a15cdd4a8e58 100644 --- a/include/linux/mv643xx_eth.h +++ b/include/linux/mv643xx_eth.h | |||
@@ -24,6 +24,8 @@ struct mv643xx_eth_platform_data { | |||
24 | struct platform_device *shared; | 24 | struct platform_device *shared; |
25 | int port_number; | 25 | int port_number; |
26 | 26 | ||
27 | struct platform_device *shared_smi; | ||
28 | |||
27 | u16 force_phy_addr; /* force override if phy_addr == 0 */ | 29 | u16 force_phy_addr; /* force override if phy_addr == 0 */ |
28 | u16 phy_addr; | 30 | u16 phy_addr; |
29 | 31 | ||