Go to the documentation of this file.
8 #include <linux/cdrom.h>
9 #include <asm/byteorder.h>
11 #define IDECD_DEBUG_LOG 0
14 #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args)
16 #define ide_debug_log(lvl, fmt, args...) do {} while (0)
19 #define ATAPI_WAIT_WRITE_BUSY (10 * HZ)
25 #define SECTOR_SIZE (1 << SECTOR_BITS)
27 #define SECTORS_PER_FRAME (CD_FRAMESIZE >> SECTOR_BITS)
28 #define SECTOR_BUFFER_SIZE (CD_FRAMESIZE * 32)
31 #define ATAPI_CAPABILITIES_PAGE_SIZE (8 + 20)
32 #define ATAPI_CAPABILITIES_PAGE_PAD_SIZE 4
52 #if defined(__BIG_ENDIAN_BITFIELD)
55 #elif defined(__LITTLE_ENDIAN_BITFIELD)
59 #error "Please fix <asm/byteorder.h>"
115 unsigned int clearing,
int slot_nr);