4 #define DRV_NAME "ide-gd"
5 #define PFX DRV_NAME ": "
7 /* define to see debug info */
8 #define IDE_GD_DEBUG_LOG 0
11 #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args)
13 #define ide_debug_log(lvl, fmt, args...) do {} while (0)
18 struct ide_driver *driver;
21 unsigned int openers; /* protected by BKL for now */
23 /* used for blk_{fs,pc}_request() requests */
24 struct ide_atapi_pc queued_pc;
26 /* Last error information */
27 u8 sense_key, asc, ascq;
29 int progress_indication;
31 /* Device information */
33 int blocks, block_size, bs_factor;
34 /* Last format capacity descriptor */
36 /* Copy of the flexible disk page */
37 u8 flexible_disk_page[32];
40 sector_t ide_gd_capacity(ide_drive_t *);
42 #endif /* __IDE_GD_H */