aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-11-29 09:42:13 +0100
committerKevin O'Connor <kevin@koconnor.net>2010-12-05 12:23:23 -0500
commitd52fdf6a6d4d710a8de12ca153bcd2735290c743 (patch)
tree44e355fec52dd577d8a7549b4786a99d80d9758f /src/config.h
parent54fa8ec148cd7cf9a5d0ac1dcc4f6975b7a1ec6e (diff)
downloadseabios-hppa-d52fdf6a6d4d710a8de12ca153bcd2735290c743.zip
seabios-hppa-d52fdf6a6d4d710a8de12ca153bcd2735290c743.tar.gz
seabios-hppa-d52fdf6a6d4d710a8de12ca153bcd2735290c743.tar.bz2
add ahci support
This patch adds AHCI support to seabios. Tested with virtual hardware only (upcoming ahci support in qemu). Coded by looking at the recommandations in the intel ahci specs, so I don't expect much trouble on real hardware. Tested booting fedora install from hard disk and a opensuse live iso from cdrom. [ v2: disable by default ] [ v2: add check for malloc failure ] [ v2: wind up disk write support ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index f9bf3b8..db3e578 100644
--- a/src/config.h
+++ b/src/config.h
@@ -56,6 +56,8 @@
#define CONFIG_ATA_DMA 0
// Use 32bit PIO accesses on ATA (minor optimization on PCI transfers)
#define CONFIG_ATA_PIO32 0
+// Support for AHCI disk code
+#define CONFIG_AHCI 0
// Support for booting from a CD
#define CONFIG_CDROM_BOOT 1
// Support for emulating a boot CD as a floppy/harddrive