diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:20 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:20 -0500 |
commit | 3f1b86d89dc73dedda426a85e600ad244ed9fad4 (patch) | |
tree | c5003d45ed9569b022228b466385883d9c5d0b4e /drivers/ide/ide-cd.h | |
parent | 20e7f7efa3da3678c65cea45903260dfabb8264c (diff) |
ide-cd: remove redundant config flags
* Use CDC_* flags directly and remove redundant flags from ->config_flags.
While at it:
* Add KERN_CONT to printk()-s in ide_cdrom_probe_capabilities().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r-- | drivers/ide/ide-cd.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h index 5bda4ec9ad2d..b989c9835174 100644 --- a/drivers/ide/ide-cd.h +++ b/drivers/ide/ide-cd.h | |||
@@ -61,20 +61,10 @@ struct ide_cd_config_flags { | |||
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 tocaddr_as_bcd : 1; /* TOC addresses are in BCD. */ | 62 | __u8 tocaddr_as_bcd : 1; /* TOC addresses are in BCD. */ |
63 | __u8 toctracks_as_bcd : 1; /* TOC track numbers are in BCD. */ | 63 | __u8 toctracks_as_bcd : 1; /* TOC track numbers are in BCD. */ |
64 | __u8 is_changer : 1; /* Drive is a changer. */ | ||
65 | __u8 cd_r : 1; /* Drive can write to CD-R media . */ | ||
66 | __u8 cd_rw : 1; /* Drive can write to CD-R/W media . */ | ||
67 | __u8 dvd : 1; /* Drive is a DVD-ROM */ | ||
68 | __u8 dvd_r : 1; /* Drive can write DVD-R */ | ||
69 | __u8 dvd_ram : 1; /* Drive can write DVD-RAM */ | ||
70 | __u8 ram : 1; /* generic WRITE (dvd-ram/mrw) */ | ||
71 | __u8 limit_nframes : 1; /* Drive does not provide data in | 64 | __u8 limit_nframes : 1; /* Drive does not provide data in |
72 | multiples of SECTOR_SIZE when more | 65 | multiples of SECTOR_SIZE when more |
73 | than one interrupt is needed. */ | 66 | than one interrupt is needed. */ |
74 | __u8 seeking : 1; /* Seeking in progress */ | 67 | __u8 seeking : 1; /* Seeking in progress */ |
75 | __u8 audio_play : 1; /* can do audio related commands */ | ||
76 | __u8 close_tray : 1; /* can close the tray */ | ||
77 | __u8 mo_drive : 1; /* drive is an MO device */ | ||
78 | __u8 no_speed_select : 1; /* SET_CD_SPEED command is unsupported. */ | 68 | __u8 no_speed_select : 1; /* SET_CD_SPEED command is unsupported. */ |
79 | byte max_speed; /* Max speed of the drive */ | 69 | byte max_speed; /* Max speed of the drive */ |
80 | }; | 70 | }; |