diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-03-27 14:51:39 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@marvell.com> | 2008-03-27 14:51:39 -0400 |
commit | 15a32632d94011911497052a96cdbf3b905b325d (patch) | |
tree | 75d5d0c378157f19ccd12a1615a83c6aa2226689 /include/linux/ata_platform.h | |
parent | 92aecfa95523384923b52c8ddaf948fc02a53e82 (diff) |
sata_mv: mbus decode window support
Make it possible to pass mbus_dram_target_info to the sata_mv
driver via the platform data, make the sata_mv driver program
the window registers based on this data if it is passed in, and
make the Orion platform setup code use this method instead of
programming the SATA mbus window registers by hand.
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: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'include/linux/ata_platform.h')
-rw-r--r-- | include/linux/ata_platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ata_platform.h b/include/linux/ata_platform.h index b856a2a590d9..9a26c83a2c9e 100644 --- a/include/linux/ata_platform.h +++ b/include/linux/ata_platform.h | |||
@@ -27,7 +27,10 @@ extern int __devexit __pata_platform_remove(struct device *dev); | |||
27 | /* | 27 | /* |
28 | * Marvell SATA private data | 28 | * Marvell SATA private data |
29 | */ | 29 | */ |
30 | struct mbus_dram_target_info; | ||
31 | |||
30 | struct mv_sata_platform_data { | 32 | struct mv_sata_platform_data { |
33 | struct mbus_dram_target_info *dram; | ||
31 | int n_ports; /* number of sata ports */ | 34 | int n_ports; /* number of sata ports */ |
32 | }; | 35 | }; |
33 | 36 | ||