The discovered bit in PGCCSR register indicates if the device has been
[linux-2.6/next.git] / drivers / ide / ide-disk.h
blobd511dab7c4aacfafce1da38a1409b9d9dcfa54a1
1 #ifndef __IDE_DISK_H
2 #define __IDE_DISK_H
4 #include "ide-gd.h"
6 #ifdef CONFIG_IDE_GD_ATA
7 /* ide-disk.c */
8 extern const struct ide_disk_ops ide_ata_disk_ops;
9 ide_decl_devset(address);
10 ide_decl_devset(multcount);
11 ide_decl_devset(nowerr);
12 ide_decl_devset(wcache);
13 ide_decl_devset(acoustic);
15 /* ide-disk_ioctl.c */
16 int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int,
17 unsigned long);
19 #ifdef CONFIG_IDE_PROC_FS
20 /* ide-disk_proc.c */
21 extern ide_proc_entry_t ide_disk_proc[];
22 extern const struct ide_proc_devset ide_disk_settings[];
23 #endif
24 #else
25 #define ide_disk_proc NULL
26 #define ide_disk_settings NULL
27 #endif
29 #endif /* __IDE_DISK_H */