Alistair Grundy
12-03-2002, 01:35 PM
Hi, I am new to Linux and have mandrake 7.1 installed per Sams Teach Yourself Linux in 24 hrs. At some later date I plan to move to Red Hat.
I write IDE test code and need to be able to send all commands to the HDD (Secondary Master). I need a layer similar to ASPII for SCSI which will allow me to construct cdb's for each command (e.g. Identify Drive 0xEC) send the cdb and get the data buffer back. Is there anything available or can someone provide me with an example of using passthrough.
Is the above even possible or will I need a specially written device driver.
Any help would be much appreciated, philosophy or code.
I write IDE test code and need to be able to send all commands to the HDD (Secondary Master). I need a layer similar to ASPII for SCSI which will allow me to construct cdb's for each command (e.g. Identify Drive 0xEC) send the cdb and get the data buffer back. Is there anything available or can someone provide me with an example of using passthrough.
Is the above even possible or will I need a specially written device driver.
Any help would be much appreciated, philosophy or code.