| #define DRV_NAME "ide-gd" |
| #define PFX DRV_NAME ": " |
| /* define to see debug info */ |
| #define IDE_GD_DEBUG_LOG 0 |
| #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args) |
| #define ide_debug_log(lvl, fmt, args...) do {} while (0) |
| struct ide_driver *driver; |
| unsigned int openers; /* protected by BKL for now */ |
| /* used for blk_{fs,pc}_request() requests */ |
| struct ide_atapi_pc queued_pc; |
| /* Last error information */ |
| int blocks, block_size, bs_factor; |
| /* Last format capacity descriptor */ |
| /* Copy of the flexible disk page */ |
| u8 flexible_disk_page[32]; |
| sector_t ide_gd_capacity(ide_drive_t *); |