diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-09-25 10:23:48 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2008-10-19 14:29:05 -0400 |
commit | dcf1cece143d95b48676cf607a21ee0805daa55a (patch) | |
tree | 4527b626549892cd882fb700dbaddb60c00e044f /arch/arm/mach-orion5x/common.h | |
parent | 04185fc67c0f8ec84ce9dd9ef33c9825b41453c6 (diff) |
[ARM] Orion: instantiate the dsa switch driver
This adds DSA switch instantiation hooks to the orion5x and the
kirkwood ARM SoC platform code, and instantiates the DSA switch
driver on the 88F5181L FXO RD, the 88F5181L GE RD, the 6183 AP GE
RD, the Linksys WRT350n v2, and the 88F6281 RD boards.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Tested-by: Nicolas Pitre <nico@marvell.com>
Tested-by: Peter van Valderen <linux@ddcrew.com>
Tested-by: Dirk Teurlings <dirk@upexia.nl>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x/common.h')
-rw-r--r-- | arch/arm/mach-orion5x/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/common.h b/arch/arm/mach-orion5x/common.h index 1f8b2da676a5..a000c7c6ee96 100644 --- a/arch/arm/mach-orion5x/common.h +++ b/arch/arm/mach-orion5x/common.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef __ARCH_ORION5X_COMMON_H | 1 | #ifndef __ARCH_ORION5X_COMMON_H |
2 | #define __ARCH_ORION5X_COMMON_H | 2 | #define __ARCH_ORION5X_COMMON_H |
3 | 3 | ||
4 | struct dsa_platform_data; | ||
4 | struct mv643xx_eth_platform_data; | 5 | struct mv643xx_eth_platform_data; |
5 | struct mv_sata_platform_data; | 6 | struct mv_sata_platform_data; |
6 | 7 | ||
@@ -29,6 +30,7 @@ void orion5x_setup_pcie_wa_win(u32 base, u32 size); | |||
29 | void orion5x_ehci0_init(void); | 30 | void orion5x_ehci0_init(void); |
30 | void orion5x_ehci1_init(void); | 31 | void orion5x_ehci1_init(void); |
31 | void orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data); | 32 | void orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data); |
33 | void orion5x_eth_switch_init(struct dsa_platform_data *d, int irq); | ||
32 | void orion5x_i2c_init(void); | 34 | void orion5x_i2c_init(void); |
33 | void orion5x_sata_init(struct mv_sata_platform_data *sata_data); | 35 | void orion5x_sata_init(struct mv_sata_platform_data *sata_data); |
34 | void orion5x_spi_init(void); | 36 | void orion5x_spi_init(void); |