patch-2.1.15 linux/drivers/block/ide-cd.h
Next file: linux/drivers/block/ide-disk.c
Previous file: linux/drivers/block/ide-cd.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Dec 11 16:45:54 1996
- Orig file:
v2.1.14/linux/drivers/block/ide-cd.h
- Orig date:
Tue Nov 12 15:56:05 1996
diff -u --recursive --new-file v2.1.14/linux/drivers/block/ide-cd.h linux/drivers/block/ide-cd.h
@@ -76,6 +76,7 @@
#define ALLOW_MEDIUM_REMOVAL 0x1e
#define READ_CAPACITY 0x25
#define READ_10 0x28
+#define SEEK 0x2b
#define MODE_SENSE_10 0x5a
#define MODE_SELECT_10 0x55
#define READ_CD 0xbe
@@ -125,7 +126,8 @@
__u8 is_changer : 1; /* Drive is a changer. */
__u8 supp_disc_present: 1; /* Changer can report exact contents
of slots. */
- __u8 reserved : 7;
+ __u8 seeking : 1; /* Seeking in progress */
+ __u8 reserved : 6;
};
#define CDROM_CONFIG_FLAGS(drive) ((struct ide_cd_config_flags *)&((drive)->bios_cyl))
@@ -383,6 +385,8 @@
struct request request_sense_request;
struct packet_command request_sense_pc;
int dma;
+ unsigned long last_block;
+ unsigned long start_seek;
/* Buffer to hold mechanism status and changer slot table. */
struct atapi_changer_info *changer_info;
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]