aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r--drivers/ide/ide-cd.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h
index e6f219772549..d224b062db52 100644
--- a/drivers/ide/ide-cd.h
+++ b/drivers/ide/ide-cd.h
@@ -59,10 +59,8 @@ struct ide_cd_config_flags {
59 __u8 no_doorlock : 1; /* Drive cannot lock the door. */ 59 __u8 no_doorlock : 1; /* Drive cannot lock the door. */
60 __u8 no_eject : 1; /* Drive cannot eject the disc. */ 60 __u8 no_eject : 1; /* Drive cannot eject the disc. */
61 __u8 nec260 : 1; /* Drive is a pre-1.2 NEC 260 drive. */ 61 __u8 nec260 : 1; /* Drive is a pre-1.2 NEC 260 drive. */
62 __u8 playmsf_as_bcd : 1; /* PLAYMSF command takes BCD args. */
63 __u8 tocaddr_as_bcd : 1; /* TOC addresses are in BCD. */ 62 __u8 tocaddr_as_bcd : 1; /* TOC addresses are in BCD. */
64 __u8 toctracks_as_bcd : 1; /* TOC track numbers are in BCD. */ 63 __u8 toctracks_as_bcd : 1; /* TOC track numbers are in BCD. */
65 __u8 subchan_as_bcd : 1; /* Subchannel info is in BCD. */
66 __u8 is_changer : 1; /* Drive is a changer. */ 64 __u8 is_changer : 1; /* Drive is a changer. */
67 __u8 cd_r : 1; /* Drive can write to CD-R media . */ 65 __u8 cd_r : 1; /* Drive can write to CD-R media . */
68 __u8 cd_rw : 1; /* Drive can write to CD-R/W media . */ 66 __u8 cd_rw : 1; /* Drive can write to CD-R/W media . */
@@ -70,19 +68,14 @@ struct ide_cd_config_flags {
70 __u8 dvd_r : 1; /* Drive can write DVD-R */ 68 __u8 dvd_r : 1; /* Drive can write DVD-R */
71 __u8 dvd_ram : 1; /* Drive can write DVD-RAM */ 69 __u8 dvd_ram : 1; /* Drive can write DVD-RAM */
72 __u8 ram : 1; /* generic WRITE (dvd-ram/mrw) */ 70 __u8 ram : 1; /* generic WRITE (dvd-ram/mrw) */
73 __u8 test_write : 1; /* Drive can fake writes */
74 __u8 supp_disc_present : 1; /* Changer can report exact contents
75 of slots. */
76 __u8 limit_nframes : 1; /* Drive does not provide data in 71 __u8 limit_nframes : 1; /* Drive does not provide data in
77 multiples of SECTOR_SIZE when more 72 multiples of SECTOR_SIZE when more
78 than one interrupt is needed. */ 73 than one interrupt is needed. */
79 __u8 seeking : 1; /* Seeking in progress */ 74 __u8 seeking : 1; /* Seeking in progress */
80 __u8 audio_play : 1; /* can do audio related commands */ 75 __u8 audio_play : 1; /* can do audio related commands */
81 __u8 close_tray : 1; /* can close the tray */ 76 __u8 close_tray : 1; /* can close the tray */
82 __u8 writing : 1; /* pseudo write in progress */
83 __u8 mo_drive : 1; /* drive is an MO device */ 77 __u8 mo_drive : 1; /* drive is an MO device */
84 __u8 no_speed_select : 1; /* SET_CD_SPEED command is unsupported. */ 78 __u8 no_speed_select : 1; /* SET_CD_SPEED command is unsupported. */
85 __u8 reserved : 1;
86 byte max_speed; /* Max speed of the drive */ 79 byte max_speed; /* Max speed of the drive */
87}; 80};
88#define CDROM_CONFIG_FLAGS(drive) (&(((struct cdrom_info *)(drive->driver_data))->config_flags)) 81#define CDROM_CONFIG_FLAGS(drive) (&(((struct cdrom_info *)(drive->driver_data))->config_flags))