diff options
author | Kristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com> | 2007-08-16 07:45:00 -0400 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-10-23 05:19:05 -0400 |
commit | 48021bd93ca339fcafe9b043d05f5d3a58be7c0a (patch) | |
tree | 25a4f0a3880a62b948295ad73c5f81ec8cacddf4 /include/asm-avr32 | |
parent | 55b70a0300b873c0ec7ea6e33752af56f41250ce (diff) |
[AVR32] Platform code for pata_at32
This patch adds platform code for PATA devices on the AP7000.
[hskinnemoen@atmel.com: board code left out for now since stk1000
doesn't support IDE out of the box]
Signed-off-by: Kristoffer Nyborg Gregertsen <kngregertsen@norway.atmel.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32')
-rw-r--r-- | include/asm-avr32/arch-at32ap/board.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h index 7dbd603c38cc..c18160f29cbd 100644 --- a/include/asm-avr32/arch-at32ap/board.h +++ b/include/asm-avr32/arch-at32ap/board.h | |||
@@ -44,6 +44,13 @@ struct usba_platform_data { | |||
44 | struct platform_device * | 44 | struct platform_device * |
45 | at32_add_device_usba(unsigned int id, struct usba_platform_data *data); | 45 | at32_add_device_usba(unsigned int id, struct usba_platform_data *data); |
46 | 46 | ||
47 | struct ide_platform_data { | ||
48 | u8 cs; | ||
49 | }; | ||
50 | struct platform_device * | ||
51 | at32_add_device_ide(unsigned int id, unsigned int extint, | ||
52 | struct ide_platform_data *data); | ||
53 | |||
47 | /* depending on what's hooked up, not all SSC pins will be used */ | 54 | /* depending on what's hooked up, not all SSC pins will be used */ |
48 | #define ATMEL_SSC_TK 0x01 | 55 | #define ATMEL_SSC_TK 0x01 |
49 | #define ATMEL_SSC_TF 0x02 | 56 | #define ATMEL_SSC_TF 0x02 |