summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ahci.c
AgeCommit message (Collapse)Author
2024-06-03kernel: pci: Require mapping BAR using bus_map()Ian Moffett
This commit gets rid of pci_map_bar() as some devices have their base address spanning mulitple BARs. This change also exposes PCI bar size logic through pci_bar_size() Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: ahci: Add missing whitespacedevIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: ahci: Add missing close() hookIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: ahci: Add SATA read/write supportIan Moffett
This commit introduces SATA read/write support and exposes SATA devices to userland as /dev/sdN files Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: ahci: Acquire global "io_lock" during cmdIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-31kernel: ahci: Fix null checkIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-31kernel: ahci: Document workaroundIan Moffett
Documents a workaround for a possible hw/emulation quirk Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-31kernel: ic: Add initial AHCI driver codeIan Moffett
This commit introduces the initial implementation of the AHCI driver for Hyra. Support for reading and writing drives still need to be implemented and devices haven't been exposed to userland yet. Signed-off-by: Ian Moffett <ian@osmora.org>