rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef __IDE_DISK_H |
| 3 | #define __IDE_DISK_H |
| 4 | |
| 5 | #include "ide-gd.h" |
| 6 | |
| 7 | #ifdef CONFIG_IDE_GD_ATA |
| 8 | /* ide-disk.c */ |
| 9 | extern const struct ide_disk_ops ide_ata_disk_ops; |
| 10 | ide_decl_devset(address); |
| 11 | ide_decl_devset(multcount); |
| 12 | ide_decl_devset(nowerr); |
| 13 | ide_decl_devset(wcache); |
| 14 | ide_decl_devset(acoustic); |
| 15 | |
| 16 | /* ide-disk_ioctl.c */ |
| 17 | int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int, |
| 18 | unsigned long); |
| 19 | |
| 20 | #ifdef CONFIG_IDE_PROC_FS |
| 21 | /* ide-disk_proc.c */ |
| 22 | extern ide_proc_entry_t ide_disk_proc[]; |
| 23 | extern const struct ide_proc_devset ide_disk_settings[]; |
| 24 | #endif |
| 25 | #else |
| 26 | #define ide_disk_proc NULL |
| 27 | #define ide_disk_settings NULL |
| 28 | #endif |
| 29 | |
| 30 | #endif /* __IDE_DISK_H */ |