-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public function for drive_id #42
Comments
How about a function for getting the number of drives in the system? |
@IanSeyler what do you mean drive ID? Would that be the device ID in the PCI register? Or an ID in the AHCI spec? What it be used for the |
This would be the AHCI drive number (as in which SATA port the drive is connected to). |
What if there are two AHCI controllers? The same port index could refer to two or more ports, depending on how many AHCI controllers there are. |
Right now the kernel only supports one AHCI device so currently that isn't an issue. However the driver and API will need to be adjusted for this in the future. Currently the AHCI driver stops looking for devices after the first one is found. |
This will be closed once #57 is complete. |
No description provided.
The text was updated successfully, but these errors were encountered: