[OpenBIOS] [commit] r1248 - trunk/openbios-devel/drivers

repository service svn at openbios.org
Mon Jan 13 09:57:55 CET 2014


Author: mcayland
Date: Mon Jan 13 09:57:55 2014
New Revision: 1248
URL: http://tracker.coreboot.org/trac/openbios/changeset/1248

Log:
prep: add an IDE controller to the i82378 PCI-ISA bridge

On PReP machines, IDE controller is really on the pc87312 Super I/O chip,
but we currently don't detect it.

Signed-off-by: Hervé Poussineau <hpoussin at reactos.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>

Modified:
   trunk/openbios-devel/drivers/pci.c

Modified: trunk/openbios-devel/drivers/pci.c
==============================================================================
--- trunk/openbios-devel/drivers/pci.c	Mon Jan 13 09:57:51 2014	(r1247)
+++ trunk/openbios-devel/drivers/pci.c	Mon Jan 13 09:57:55 2014	(r1248)
@@ -876,6 +876,9 @@
 #ifdef CONFIG_DRIVER_PC_KBD
     ob_pc_kbd_init(config->path, "8042", arch->io_base, 0x60ULL, 0);
 #endif
+#ifdef CONFIG_DRIVER_IDE
+    ob_ide_init(config->path, 0x1f0, 0x3f6, 0x170, 0x376);
+#endif
 
     return 0;
 }



More information about the OpenBIOS mailing list