2008-10-13 19:39:45 +00:00
|
|
|
#ifndef __IDE_DISK_H
|
|
|
|
#define __IDE_DISK_H
|
|
|
|
|
2008-10-17 16:09:14 +00:00
|
|
|
#include "ide-gd.h"
|
2008-10-17 16:09:12 +00:00
|
|
|
|
2008-10-17 16:09:14 +00:00
|
|
|
#ifdef CONFIG_IDE_GD_ATA
|
2008-10-13 19:39:45 +00:00
|
|
|
/* ide-disk.c */
|
2008-10-17 16:09:14 +00:00
|
|
|
extern const struct ide_disk_ops ide_ata_disk_ops;
|
2008-10-13 19:39:45 +00:00
|
|
|
ide_decl_devset(address);
|
|
|
|
ide_decl_devset(multcount);
|
|
|
|
ide_decl_devset(nowerr);
|
|
|
|
ide_decl_devset(wcache);
|
|
|
|
ide_decl_devset(acoustic);
|
|
|
|
|
|
|
|
/* ide-disk_ioctl.c */
|
2008-10-16 14:23:20 +00:00
|
|
|
int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int,
|
2008-10-17 16:09:14 +00:00
|
|
|
unsigned long);
|
2008-10-13 19:39:45 +00:00
|
|
|
|
2008-10-13 19:39:45 +00:00
|
|
|
#ifdef CONFIG_IDE_PROC_FS
|
|
|
|
/* ide-disk_proc.c */
|
|
|
|
extern ide_proc_entry_t ide_disk_proc[];
|
|
|
|
extern const struct ide_proc_devset ide_disk_settings[];
|
|
|
|
#endif
|
2008-10-17 16:09:14 +00:00
|
|
|
#else
|
|
|
|
#define ide_disk_proc NULL
|
|
|
|
#define ide_disk_settings NULL
|
|
|
|
#endif
|
2008-10-13 19:39:45 +00:00
|
|
|
|
2008-10-13 19:39:45 +00:00
|
|
|
#endif /* __IDE_DISK_H */
|