Re: Fwd: libata extension

2007-03-12 Thread Vitaliyi
Why is the access to Control register needed? To execute soft reset for example. > In the perfect case i would like to be able to execute vendor command > set (reverse engineered). Sounds interesting. :-) Could you give some more details on what are you going to implement? Reading/writing

Fwd: libata extension

2007-03-12 Thread Vitaliyi
-- Forwarded message -- From: Vitaliyi <[EMAIL PROTECTED]> Date: Mar 12, 2007 7:03 PM Subject: Re: libata extension To: Mark Lord <[EMAIL PROTECTED]> Use the SCSI SG_IO ioctl() with opcode=ATA_16, which gives you access to the ATA Passthrough mechanism. This will w

libata extension

2007-03-10 Thread Vitaliyi
Good Day Say i want to implement extended set of ATA commands available to userspace for building diagnostic tools. I need 0x40 -- read verify and 0x32 -- write long with error handling, for example. I was trying ide driver through ioctl's, but seems it lack of functionality and full of gotchas.