Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kernel/AHCI: Dont assume ports start at 0
This fixes a bug that occurs when the controller's ports are not (internally) numbered sequentially. This is done by checking the bits set in PI. This bug was found on bare-metal, on a laptop with 1 Port that was reported as port 4.
- Loading branch information