[libata] ARM: add ixp4xx PATA driver

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Alessandro Zummo
2006-11-14 13:43:21 -05:00
committed by Jeff Garzik
parent 4adccf6f44
commit 0df0d0a0ea
4 changed files with 295 additions and 0 deletions
+13
View File
@@ -86,6 +86,19 @@ struct ixp4xx_i2c_pins {
unsigned long scl_pin;
};
/*
* This structure provide a means for the board setup code
* to give information to th pata_ixp4xx driver. It is
* passed as platform_data.
*/
struct ixp4xx_pata_data {
volatile u32 *cs0_cfg;
volatile u32 *cs1_cfg;
unsigned long cs0_bits;
unsigned long cs1_bits;
void __iomem *cs0;
void __iomem *cs1;
};
struct sys_timer;