Messages in this thread Patch in this message |  | | | Date | Tue, 17 Aug 2004 16:27:35 +0200 | | From | Marc Ballarin <> | | Subject | [PATCH] update defines in cdrom.h |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |