ide-disk.h 666 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __IDE_DISK_H
  2. #define __IDE_DISK_H
  3. #include "ide-gd.h"
  4. #ifdef CONFIG_IDE_GD_ATA
  5. /* ide-disk.c */
  6. extern const struct ide_disk_ops ide_ata_disk_ops;
  7. ide_decl_devset(address);
  8. ide_decl_devset(multcount);
  9. ide_decl_devset(nowerr);
  10. ide_decl_devset(wcache);
  11. ide_decl_devset(acoustic);
  12. /* ide-disk_ioctl.c */
  13. int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int,
  14. unsigned long);
  15. #ifdef CONFIG_IDE_PROC_FS
  16. /* ide-disk_proc.c */
  17. extern ide_proc_entry_t ide_disk_proc[];
  18. extern const struct ide_proc_devset ide_disk_settings[];
  19. #endif
  20. #else
  21. #define ide_disk_proc NULL
  22. #define ide_disk_settings NULL
  23. #endif
  24. #endif /* __IDE_DISK_H */