diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 42f39781af87..64624b9b645c 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -932,7 +932,19 @@ struct ide_driver_s { | |||
932 | int ide_device_get(ide_drive_t *); | 932 | int ide_device_get(ide_drive_t *); |
933 | void ide_device_put(ide_drive_t *); | 933 | void ide_device_put(ide_drive_t *); |
934 | 934 | ||
935 | int generic_ide_ioctl(ide_drive_t *, struct file *, struct block_device *, unsigned, unsigned long); | 935 | struct ide_ioctl_devset { |
936 | unsigned int get_ioctl; | ||
937 | unsigned int set_ioctl; | ||
938 | |||
939 | int (*get)(ide_drive_t *); | ||
940 | int (*set)(ide_drive_t *, int); | ||
941 | }; | ||
942 | |||
943 | int ide_setting_ioctl(ide_drive_t *, struct block_device *, unsigned int, | ||
944 | unsigned long, const struct ide_ioctl_devset *); | ||
945 | |||
946 | int generic_ide_ioctl(ide_drive_t *, struct file *, struct block_device *, | ||
947 | unsigned, unsigned long); | ||
936 | 948 | ||
937 | extern int ide_vlb_clk; | 949 | extern int ide_vlb_clk; |
938 | extern int ide_pci_clk; | 950 | extern int ide_pci_clk; |