Kevin Wolf ·
This series adds an AHCI driver. Tested in qemu and VirtualBox, additional tests (and of course code reviews) are welcome. Unlike v1, I'm not planning to prepare another version of this series with more features/cleanup/whatever, except to address review comments if necessary. Without comments, I would consider it ready to be merged now. v2: - Added CD-ROM support - Added a little more serious error handling - Improved the spec for cdi_provide_device_internal_drv() so that it initialises yet uninitialised drivers - A few little bugs here and there fixed Kevin Wolf (5): cdi/misc.h: Add CDI_BUILD_BUG_ON() macro cdi.h: Add cdi_driver.initialised cdi.h: Add cdi_provide_device_internal_drv() ahci: Controller and hard disk support ahci: Add CD-ROM support ahci/ahci.h | 346 ++++++++++++++++++++++++++++++++++++++ ahci/disk.c | 470 ++++++++++++++++++++++++++++++++++++++++++++++++++++ ahci/main.c | 270 ++++++++++++++++++++++++++++++ include/cdi.h | 63 +++++++ include/cdi/misc.h | 6 + include/cdi/pci.h | 3 + 6 files changed, 1158 insertions(+), 0 deletions(-) create mode 100644 ahci/ahci.h create mode 100644 ahci/disk.c create mode 100644 ahci/main.c -- 1.7.7