[PATCH] update defines in cdrom.h

From: Marc Ballarin
Date: Tue Aug 17 2004 - 09:21:47 EST


This adds four commands defined in mmc4 spec to cdrom.h. I used the
official names and simply added the GPCMD prefix. This is a prerequisite
for improving filtering.

Some commands that are used in software but not mentioned in specs are
still missing.

Marc


--- linux-2.6.8/include/linux/cdrom.h.orig 2004-08-14 12:26:34.000000000 +0200
+++ linux-2.6.8/include/linux/cdrom.h 2004-08-17 16:14:41.580823560 +0200
@@ -481,4 +481,8 @@
#define GPCMD_WRITE_10 0x2a
#define GPCMD_WRITE_AND_VERIFY_10 0x2e
+#define GPCMD_READ_BUFFER_CAPACITY 0x5C
+#define GPCMD_SEND_CUE 0x5D
+#define GPCMD_ERASE 0x2C
+#define GPCMD_SEND_DVD_STRUCTURE 0xBF
/* This is listed as optional in ATAPI 2.6, but is (curiously)
* missing from Mt. Fuji, Table 57. It _is_ mentioned in Mt. Fuji
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/