patch-2.2.4 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: 37
- Date:
Tue Mar 23 13:54:15 1999
- Orig file:
v2.2.3/linux/drivers/block/ide-cd.h
- Orig date:
Wed Jan 20 23:14:04 1999
diff -u --recursive --new-file v2.2.3/linux/drivers/block/ide-cd.h linux/drivers/block/ide-cd.h
@@ -85,6 +85,9 @@
#define MECHANISM_STATUS 0xbd
#define READ_CD 0xbe
+/* DVD Opcodes */
+#define DVD_GET_PERFORMANCE 0xac
+
/* Page codes for mode sense/set */
@@ -562,7 +565,7 @@
/* Sector buffer. If a read request wants only the first part
of a cdrom block, we cache the rest of the block here,
- in the expectation that that data is going to be wanted soon.
+ in the expectation that the data is going to be wanted soon.
SECTOR_BUFFERED is the number of the first buffered sector,
and NSECTORS_BUFFERED is the number of sectors in the buffer.
Before the buffer is allocated, we should have
@@ -656,6 +659,7 @@
{ PLAY_CD, "Play CD" },
{ MECHANISM_STATUS, "Mechanism Status" },
{ READ_CD, "Read CD" },
+ { DVD_GET_PERFORMANCE, "Get Performance" },
};
@@ -776,7 +780,8 @@
{ 0x6400, "Illegal mode for this track or incompatible medium" },
- { 0xb900, "Play operation oborted (sic)" },
+ /* Following error is misspelled in ATAPI 2.6 */
+ { 0xb900, "Play operation oborted [sic]" },
{ 0xbf00, "Loss of streaming" },
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)