diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-04-24 01:27:17 +0200 |
---|---|---|
committer | Dale Farnsworth <dale@farnsworth.org> | 2008-04-28 21:17:07 -0700 |
commit | f2ce825d2a89b30af14fa577298fecaab7bc9504 (patch) | |
tree | bc49974ec503b653c792d879ceabc42a934b8b22 /include/linux/mv643xx_eth.h | |
parent | fa3959f457109cc7d082b86ea6daae927982815b (diff) |
mv643xx_eth: mbus decode window support
Make it possible to pass mbus_dram_target_info to the mv643xx_eth
driver via the platform data, and make the mv643xx_eth driver
program the window registers based on this data if it is passed in.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Reviewed-by: Tzachi Perelstein <tzachi@marvell.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Diffstat (limited to 'include/linux/mv643xx_eth.h')
-rw-r--r-- | include/linux/mv643xx_eth.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h index 2d59855b61c..4801b02b444 100644 --- a/include/linux/mv643xx_eth.h +++ b/include/linux/mv643xx_eth.h @@ -5,6 +5,8 @@ #ifndef __LINUX_MV643XX_ETH_H #define __LINUX_MV643XX_ETH_H +#include <linux/mbus.h> + #define MV643XX_ETH_SHARED_NAME "mv643xx_eth_shared" #define MV643XX_ETH_NAME "mv643xx_eth" #define MV643XX_ETH_SHARED_REGS 0x2000 @@ -13,6 +15,10 @@ #define MV643XX_ETH_SIZE_REG_4 0x2224 #define MV643XX_ETH_BASE_ADDR_ENABLE_REG 0x2290 +struct mv643xx_eth_shared_platform_data { + struct mbus_dram_target_info *dram; +}; + struct mv643xx_eth_platform_data { struct platform_device *shared; int port_number; |