Bartlomiej Zolnierkiewicz | f879048 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 1 | #ifndef __IDE_DISK_H |
| 2 | #define __IDE_DISK_H |
| 3 | |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 4 | #include "ide-gd.h" |
Bartlomiej Zolnierkiewicz | f879048 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 5 | |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 6 | #ifdef CONFIG_IDE_GD_ATA |
Bartlomiej Zolnierkiewicz | f879048 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 7 | /* ide-disk.c */ |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 8 | extern const struct ide_disk_ops ide_ata_disk_ops; |
Bartlomiej Zolnierkiewicz | f879048 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 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); |
| 14 | |
| 15 | /* ide-disk_ioctl.c */ |
Al Viro | badf808 | 2008-10-16 10:23:20 -0400 | [diff] [blame] | 16 | int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int, |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 17 | unsigned long); |
Bartlomiej Zolnierkiewicz | f879048 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 18 | |
Bartlomiej Zolnierkiewicz | 06b8951 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 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 |
Bartlomiej Zolnierkiewicz | 806f80a | 2008-10-17 18:09:14 +0200 | [diff] [blame] | 24 | #else |
| 25 | #define ide_disk_proc NULL |
| 26 | #define ide_disk_settings NULL |
| 27 | #endif |
Bartlomiej Zolnierkiewicz | 06b8951 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 28 | |
Bartlomiej Zolnierkiewicz | f879048 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 29 | #endif /* __IDE_DISK_H */ |