[PATCH] cdrom: support read sub-channel command in LBA format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jens,

 In CDROM Linux driver code, "Read Sub channel" format is hard coded with CDROM_MSF format only in the function cdrom_read_subchannel() and mmc_ioctl_cdrom_subchannel() in cdrom.c.
 Hence, irrespective of "Read Sub channel" command with CDROM_LBA/CDROM_MSF format, the reported Response which is in MSF format was considered as LBA in user space application.

Now the behavior is changed in such way that  IOCTL returns either CDROM_MSF or CDROM_LBA format per user request.

Please find the fix patch attached. 


Best regards

Veeraiyan Chidambaram
RBEI/ECF  

Tel. +91(422)676-4495 


Attachment: 0001-cdrom-support-read-sub-channel-command-in-LBA-format.patch
Description: 0001-cdrom-support-read-sub-channel-command-in-LBA-format.patch


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux