Messages in this thread Patch in this message | | | Date | Tue, 17 Aug 2004 17:19:41 +0200 | From | Marc Ballarin <> | Subject | Re: [PATCH] update + fix defines in cdrom.h |
| |
Improved version of the previous patch. Use lower case letters + fix a real bug: SEND_DVD_STRUCTURE was defined as 0xad, which is actually READ_DVD_STRUCTURE. The only user is ide-cd.h, which uses it for simple information printing.
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 17:13:08.508689488 +0200 @@ -469,5 +469,5 @@ #define GPCMD_SCAN 0xba #define GPCMD_SEEK 0x2b -#define GPCMD_SEND_DVD_STRUCTURE 0xad +#define GPCMD_SEND_DVD_STRUCTURE 0xbf #define GPCMD_SEND_EVENT 0xa2 #define GPCMD_SEND_KEY 0xa3 @@ -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_READ_DVD_STRUCTURE 0xad /* 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/
| |