patch-2.2.13 linux/drivers/block/ide-cd.h
Next file: linux/drivers/block/ide-pmac.c
Previous file: linux/drivers/block/ide-cd.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Tue Oct 19 17:14:00 1999
- Orig file:
v2.2.12/linux/drivers/block/ide-cd.h
- Orig date:
Tue May 11 10:35:45 1999
diff -u --recursive --new-file v2.2.12/linux/drivers/block/ide-cd.h linux/drivers/block/ide-cd.h
@@ -141,7 +141,9 @@
multiples of SECTOR_SIZE when more
than one interrupt is needed. */
__u8 seeking : 1; /* Seeking in progress */
- __u8 reserved : 6;
+ __u8 audio_play : 1; /* can do audio related commands */
+ __u8 close_tray : 1; /* can close the tray */
+ __u8 reserved : 4;
byte max_speed; /* Max speed of the drive */
};
#define CDROM_CONFIG_FLAGS(drive) (&(((struct cdrom_info *)(drive->driver_data))->config_flags))
@@ -518,9 +520,11 @@
#if defined(__BIG_ENDIAN_BITFIELD)
__u8 mech_state : 3;
- __u8 reserved1 : 5;
+ __u8 door_open : 1;
+ __u8 reserved1 : 4;
#elif defined(__LITTLE_ENDIAN_BITFIELD)
- __u8 reserved1 : 5;
+ __u8 reserved1 : 4;
+ __u8 door_open : 1;
__u8 mech_state : 3;
#else
#error "Please fix <asm/byteorder.h>"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)