[SeaBIOS] [coreboot] Add IDE_TO_AHCI config

Scott Duplichan scott at notabs.org
Fri May 27 08:44:21 CEST 2011

Alex Chuang wrote:

]I add one config ‘IDE_TO_AHCI’ in ‘seabios\src\Kconfig’ and modify
]‘seabios\src\ata.c’. Please help me to review and check-in.
]This ‘IDE_TO_AHCI’ function can let SeaBIOS handle AHCI controller as IDE
]controller when ‘ATA’ enable, and also let Windows OS to load AHCI inbox
]driver or chipset vender’s AHCI driver. In other words, it means that SATA
]Hard Disk ran as IDE mode in SeaBIOS but AHCI mode in Windows OS.

Hello Alex,

Thanks for this contribution. Also thanks for explaining IDE_TO_AHCI.
I have seen it in BIOS setup before, but without explanation.

Before diving into the details of this change, what benefit can be
expected from using it? I assume its purpose is to gain the benefits
of OS use of AHCI interface while avoiding the need for an AHCI option
ROM. Avoiding option ROMs is certainly a good thing. But why not use AHCI
mode for both SeaBIOS and OS? SeaBIOS AHCI support works on AMD hardware
when this patch is used:

]   if ((! CONFIG_IDE_TO_AHCI) || (pci_config_readw(bdf, PCI_CLASS_DEVICE)
]!= 0x0106))  <- New add.

You could improve readability by replacing 0x0106 with


More information about the SeaBIOS mailing list