Amit Singh Tomar
Amit Singh Tomar

Reputation: 8610

How to use AHCI SATA linux driver for an application

I have an application running which has the requirement to use SATA AHCI driver for linux. I have got AHCI.so to be used but I'm looking for some file(.h file)which will publishing the api's which my appication can use(Planning to write a glue layer to communicate with .SO using api).

Can anybody help me in identifying right file which will be publishing all api's of AHCI.SO or I have to write such file by my own.

Upvotes: 1

Views: 1175

Answers (1)

Chris Desjardins
Chris Desjardins

Reputation: 2716

fopen, fwrite, fread, fclose. If the target drive is in ahci mode then you will use the ahci drivers.

Upvotes: 1

Related Questions