ide-disk.h 665 字节
Newer Older
1 2 3
#ifndef __IDE_DISK_H
#define __IDE_DISK_H

4
#include "ide-gd.h"
5

6
#ifdef CONFIG_IDE_GD_ATA
7
/* ide-disk.c */
8
extern const struct ide_disk_ops ide_ata_disk_ops;
9 10 11 12 13 14 15
ide_decl_devset(address);
ide_decl_devset(multcount);
ide_decl_devset(nowerr);
ide_decl_devset(wcache);
ide_decl_devset(acoustic);

/* ide-disk_ioctl.c */
16 17
int ide_disk_ioctl(ide_drive_t *, struct inode *, struct file *, unsigned int,
		   unsigned long);
18

19 20 21 22 23
#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
24 25 26 27
#else
#define ide_disk_proc		NULL
#define ide_disk_settings	NULL
#endif
28

29
#endif /* __IDE_DISK_H */