1 /* linux/arch/arm/plat-samsung/include/plat/ata.h
3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * Samsung CF-ATA platform_device info
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __ASM_PLAT_ATA_H
14 #define __ASM_PLAT_ATA_H __FILE__
17 * struct s3c_ide_platdata - S3C IDE driver platform data.
18 * @setup_gpio: Setup the external GPIO pins to the right state for data
19 * transfer in true-ide mode.
21 struct s3c_ide_platdata
{
22 void (*setup_gpio
)(void);
26 * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
27 * @pdata: Platform data for IDE driver.
29 extern void s3c_ide_set_platdata(struct s3c_ide_platdata
*pdata
);
31 /* architecture-specific IDE configuration */
32 extern void s3c64xx_ide_setup_gpio(void);
33 extern void s5pc100_ide_setup_gpio(void);
34 extern void s5pv210_ide_setup_gpio(void);
36 #endif /*__ASM_PLAT_ATA_H */