summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-03 18:48:56 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-03 18:48:56 -0800
commita9b9b3c5ebb3f8d4814c10baf7176fd8711d063f (patch)
treea44d6a660a5bd247aa6cad251ffedbf46eee2c50 /include/linux
parent541f40bda2743d5c6aef0ebeb09c6c89e5fcf37a (diff)
[PATCH] ide-cd mo write protect
From: Jens Axboe <axboe@suse.de> It's from Pascal Schmidt and adds write protect handling to ide-cd along with support for non-2kb block sizes.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cdrom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cdrom.h b/include/linux/cdrom.h
index 1b00b5f96c0b..513ac8f4e9a2 100644
--- a/include/linux/cdrom.h
+++ b/include/linux/cdrom.h
@@ -496,6 +496,7 @@ struct cdrom_generic_command
#define GPCMD_GET_MEDIA_STATUS 0xda
/* Mode page codes for mode sense/set */
+#define GPMODE_VENDOR_PAGE 0x00
#define GPMODE_R_W_ERROR_PAGE 0x01
#define GPMODE_WRITE_PARMS_PAGE 0x05
#define GPMODE_AUDIO_CTL_PAGE 0x0e