summaryrefslogtreecommitdiff
path: root/Documentation/ioctl/cdrom.txt
diff options
context:
space:
mode:
authorvchannaiah <vanitha.channaiah@in.bosch.com>2016-06-29 15:18:25 +0300
committerJens Axboe <axboe@fb.com>2016-07-12 18:24:50 +0300
commitbf294e833b3e670450cdc013242d45a4d2b8d395 (patch)
tree3e64868a26493135f75b880a84ad1e1e2184d7d8 /Documentation/ioctl/cdrom.txt
parent54adc01055b75ec8769c5a36574c7a0895c0c0b2 (diff)
downloadlinux-bf294e833b3e670450cdc013242d45a4d2b8d395.tar.xz
cdrom: support read sub-channel command in LBA format
userspace application can send READ_SUB_CHANNEL command with time bit enabled and disabled. The time bit allows selection of address reporting format. If the time bit is disabled the response is in logical block address(CDROM_LBA) format, represented as a 32-bit integer with ms-byte first. If the time bit is enabled the response is in time format i.e., minutes, second, frame (CDROM_MSF) format. Signed-off-by: vchannaiah <vanitha.channaiah@in.bosch.com> Signed-off-by: Mahendran Kuppusamy <mahendran.kuppusamy@in.bosch.com> [veeraiyan.chidambaram@in.bosch.com: updated Documentation/ioctl/cdrom.txt] Signed-off-by: Veeraiyan Chidambaram <veeraiyan.chidambaram@in.bosch.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'Documentation/ioctl/cdrom.txt')
-rw-r--r--Documentation/ioctl/cdrom.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/ioctl/cdrom.txt b/Documentation/ioctl/cdrom.txt
index 59df81c8da2b..a4d62a9d6771 100644
--- a/Documentation/ioctl/cdrom.txt
+++ b/Documentation/ioctl/cdrom.txt
@@ -340,7 +340,8 @@ CDROMSUBCHNL Read subchannel data (struct cdrom_subchnl)
EINVAL format not CDROM_MSF or CDROM_LBA
notes:
- Format is converted to CDROM_MSF on return
+ Format is converted to CDROM_MSF or CDROM_LBA
+ as per user request on return