LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   CDROM block device driver (https://www.linuxquestions.org/questions/programming-9/cdrom-block-device-driver-840007/)

souvikdatta 10-23-2010 12:04 PM

CDROM block device driver
 
Hello, I would like to develop a block device driver for a CDROM device which is controlled through I2C and the data from the CDROM is read through S/PDIF. I understand that in my driver request() function, after finding out that it is a READ request, I have to read a certain size of data ( Give a I2C command and then read using the S/PDIF driver). My query is should I have to pass this data as it is to the File system driver or do I have to do process this data before sending the data to the File system driver?

Thanks and Regards,
Souvik


All times are GMT -5. The time now is 09:21 AM.