summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2003-06-30 19:35:27 -0700
committerAnton Blanchard <anton@samba.org>2003-06-30 19:35:27 -0700
commit0aafd44a5f61c1864f73883d1a15420230eeac07 (patch)
treefce3f374b70b097813cd3eb3524850f0b057e671 /include/linux
parentdeadcf58e276882c7e1735f6654bea806c2d1da2 (diff)
[PATCH] ide-cd: capability flag for MO drives
From: Pascal Schmidt <der.eremit@email.de> Add capability flag for MO drives. Since ATAPI MOs are now recognized by the ide-cd driver, it is useful to have a capability flag to be able to tell MO drives from other drives (needed for later write support).
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 3fb8581cde52..97265afb867f 100644
--- a/include/linux/cdrom.h
+++ b/include/linux/cdrom.h
@@ -387,6 +387,7 @@ struct cdrom_generic_command
#define CDC_DVD 0x8000 /* drive is a DVD */
#define CDC_DVD_R 0x10000 /* drive can write DVD-R */
#define CDC_DVD_RAM 0x20000 /* drive can write DVD-RAM */
+#define CDC_MO_DRIVE 0x40000 /* drive is an MO device */
/* drive status possibilities returned by CDROM_DRIVE_STATUS ioctl */
#define CDS_NO_INFO 0 /* if not implemented */