9 unsigned int openers; /* protected by BKL for now */
12 #define ide_disk_g(disk) \
13 container_of((disk)->private_data, struct ide_disk_obj, driver)
16 sector_t ide_disk_capacity(ide_drive_t *);
17 ide_decl_devset(address);
18 ide_decl_devset(multcount);
19 ide_decl_devset(nowerr);
20 ide_decl_devset(wcache);
21 ide_decl_devset(acoustic);
23 /* ide-disk_ioctl.c */
24 int ide_disk_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
26 #ifdef CONFIG_IDE_PROC_FS
28 extern ide_proc_entry_t ide_disk_proc[];
29 extern const struct ide_proc_devset ide_disk_settings[];
32 #endif /* __IDE_DISK_H */