ata.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* linux/arch/arm/plat-samsung/include/plat/ata.h
  2. *
  3. * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * Samsung CF-ATA platform_device info
  7. *
  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.
  11. */
  12. #ifndef __ASM_PLAT_ATA_H
  13. #define __ASM_PLAT_ATA_H __FILE__
  14. /**
  15. * struct s3c_ide_platdata - S3C IDE driver platform data.
  16. * @setup_gpio: Setup the external GPIO pins to the right state for data
  17. * transfer in true-ide mode.
  18. */
  19. struct s3c_ide_platdata {
  20. void (*setup_gpio)(void);
  21. };
  22. /*
  23. * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
  24. * @pdata: Platform data for IDE driver.
  25. */
  26. extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
  27. /* architecture-specific IDE configuration */
  28. extern void s3c64xx_ide_setup_gpio(void);
  29. extern void s5pc100_ide_setup_gpio(void);
  30. extern void s5pv210_ide_setup_gpio(void);
  31. #endif /*__ASM_PLAT_ATA_H */