From: Reza Jelveh <reza.jel...@tuhh.de> The SataController is copied to OvmfPkg where the IdeController resides and enabled for OvmfPkg
Because SataController needs AE to be enabled before reading Ahci registers, GetChannelInfo is used to accomodate for initializations after AhciMode initialization. IdeMode of AtaAtapiPassThru is also adjust to provide more compatibility with custom Ide Controllers. Reza Jelveh (5): OvmfPkg: copy SataControllerDxe to OvmfPkg OvmfPkg: enable SATA controller OvmfPkg: read host capabilities on ChannelInfo MdeModulePkg: AhciMode calls GetChannelInfo when enumerating MdeModulePkg; IdeMode select master/slave before diagnostics command MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c | 16 + MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c | 9 +- OvmfPkg/OvmfPkgIa32.dsc | 5 +- OvmfPkg/OvmfPkgIa32.fdf | 5 +- OvmfPkg/OvmfPkgIa32X64.dsc | 5 +- OvmfPkg/OvmfPkgIa32X64.fdf | 5 +- OvmfPkg/OvmfPkgX64.dsc | 5 +- OvmfPkg/OvmfPkgX64.fdf | 5 +- OvmfPkg/SataControllerDxe/ComponentName.c | 176 ++++ OvmfPkg/SataControllerDxe/SataController.c | 1019 ++++++++++++++++++++++ OvmfPkg/SataControllerDxe/SataController.h | 542 ++++++++++++ OvmfPkg/SataControllerDxe/SataControllerDxe.inf | 49 ++ 12 files changed, 1825 insertions(+), 16 deletions(-) create mode 100644 OvmfPkg/SataControllerDxe/ComponentName.c create mode 100644 OvmfPkg/SataControllerDxe/SataController.c create mode 100644 OvmfPkg/SataControllerDxe/SataController.h create mode 100644 OvmfPkg/SataControllerDxe/SataControllerDxe.inf -- 2.1.1 ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel