]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/ide/ide-disk.h
UBUNTU: Ubuntu-4.15.0-96.97
[mirror_ubuntu-bionic-kernel.git] / drivers / ide / ide-disk.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
f8790489
BZ
2#ifndef __IDE_DISK_H
3#define __IDE_DISK_H
4
806f80a6 5#include "ide-gd.h"
5fef0e5c 6
806f80a6 7#ifdef CONFIG_IDE_GD_ATA
f8790489 8/* ide-disk.c */
806f80a6 9extern const struct ide_disk_ops ide_ata_disk_ops;
f8790489
BZ
10ide_decl_devset(address);
11ide_decl_devset(multcount);
12ide_decl_devset(nowerr);
13ide_decl_devset(wcache);
14ide_decl_devset(acoustic);
15
16/* ide-disk_ioctl.c */
badf8082 17int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int,
806f80a6 18 unsigned long);
f8790489 19
06b89518
BZ
20#ifdef CONFIG_IDE_PROC_FS
21/* ide-disk_proc.c */
22extern ide_proc_entry_t ide_disk_proc[];
23extern const struct ide_proc_devset ide_disk_settings[];
24#endif
806f80a6
BZ
25#else
26#define ide_disk_proc NULL
27#define ide_disk_settings NULL
28#endif
06b89518 29
f8790489 30#endif /* __IDE_DISK_H */