The subject says it all. With this patch, the ata_piix driver will actually
see the IDE devices, imagine that.

Tested on qemu, with kernel 2.6.26.2.

Thanks,
Ward.

-- 
Ward Vandewege <[EMAIL PROTECTED]>
Free Software Foundation - Senior Systems Administrator
Enable both IDE ports for our qemu target.

Signed-off-by: Ward Vandewege <[EMAIL PROTECTED]>

Index: src/mainboard/emulation/qemu-x86/Config.lb
===================================================================
--- src/mainboard/emulation/qemu-x86/Config.lb	(revision 3469)
+++ src/mainboard/emulation/qemu-x86/Config.lb	(working copy)
@@ -107,7 +107,14 @@
 chip cpu/emulation/qemu-x86
 	device pci_domain 0 on 
 		device pci 0.0 on end
-		device pci 1.0 on end
+
+		chip southbridge/intel/i82371eb # southbridge
+			device pci 01.0 on end
+			device pci 01.1 on end
+			register "ide0_enable" = "1"
+			register "ide1_enable" = "1"
+		end
+
 #		register "com1" = "{1}"
 #		register "com1" = "{1, 0, 0x3f8, 4}"
 	end
--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to