[SeaBIOS] [PATCH] Make CONFIG_ATA_DMA and CONFIG_ATA_PIO32 default on

Paul Durrant paul.durrant at citrix.com
Mon May 11 14:47:57 CEST 2015


Currently running make defconfig will leave the above turned off which,
at least for the Xen/QEMU use-case, means VMs will boot very slowly.
There seems to have been some concern over non-QEMU use of ATA_DMA about
five years ago, but I can find no particular concern over ATA_PIO32.
Given the increased use of QEMU and Xen in that period it would seem
like a good idea to default both of these on now. This patch does that.

Signed-off-by: Paul Durrant <paul.durrant at citrix.com>
---
 src/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Kconfig b/src/Kconfig
index 45ca59c..faf8951 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -144,13 +144,13 @@ menu "Hardware support"
     config ATA_DMA
         depends on ATA
         bool "ATA DMA"
-        default n
+        default y
         help
             Detect and try to use ATA bus mastering DMA controllers.
     config ATA_PIO32
         depends on ATA
         bool "ATA 32bit PIO"
-        default n
+        default y
         help
             Use 32bit PIO accesses on ATA (minor optimization on PCI transfers).
     config AHCI
-- 
1.7.10.4




More information about the SeaBIOS mailing list