What driver I have to implement (Or reuse from windows driver samples) to send SATA commands to SATA harddisk? RRS feed

  • Question

  • I am interested in sending SATA commands to harddisk (From the user space) . I had a look at storshci mini port driver sample, but this has only functions specific to AHCI controller. I think one more driver need to be implemented which communicates with storshci driver.

    It would help greatly If anybody can answer these questions.

    1. How to send commands to storahci miniport driver (Command, for example port initialize) ?
    2. Is storahci miniport driver itself sufficient to implement the sata commads? Or do I need to have a one more layered driver which sit on the top of this (Something like disk driver) ? 
    3. In which sample driver, the SATA specific commands such as Identify device are implemented?5PNXQBX
    Wednesday, August 31, 2016 5:04 AM