ata-samsung_cf.h 962 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  3. * http://www.samsung.com
  4. *
  5. * Samsung CF-ATA platform_device info
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef __ATA_SAMSUNG_CF_H
  12. #define __ATA_SAMSUNG_CF_H __FILE__
  13. /**
  14. * struct s3c_ide_platdata - S3C IDE driver platform data.
  15. * @setup_gpio: Setup the external GPIO pins to the right state for data
  16. * transfer in true-ide mode.
  17. */
  18. struct s3c_ide_platdata {
  19. void (*setup_gpio)(void);
  20. };
  21. /*
  22. * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
  23. * @pdata: Platform data for IDE driver.
  24. */
  25. extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
  26. /* architecture-specific IDE configuration */
  27. extern void s3c64xx_ide_setup_gpio(void);
  28. extern void s5pv210_ide_setup_gpio(void);
  29. #endif /*__ATA_SAMSUNG_CF_H */