[coreboot] [commit] r5931 - trunk/src/southbridge/amd/sb700

repository service svn at coreboot.org
Sun Oct 10 21:54:16 CEST 2010


Author: ruik
Date: Sun Oct 10 21:54:15 2010
New Revision: 5931
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5931

Log:
Following patch enables UDMA on ALL IDE devices. The current code enables it only for primary master, which causes my DVD drive to fail under windows install
and even after hard reset in linux (DMA seems lockup).

The fix should not have any influence for Linux because the IDE driver will
correctly reprogram this bit. 

Signed-off-by: Rudolf Marek <r.marek at assembler.cz> 
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>

Modified:
   trunk/src/southbridge/amd/sb700/sb700_ide.c

Modified: trunk/src/southbridge/amd/sb700/sb700_ide.c
==============================================================================
--- trunk/src/southbridge/amd/sb700/sb700_ide.c	Sun Oct 10 17:18:53 2010	(r5930)
+++ trunk/src/southbridge/amd/sb700/sb700_ide.c	Sun Oct 10 21:54:15 2010	(r5931)
@@ -39,10 +39,9 @@
 	dword &= ~(1 << 16);
 	pci_write_config32(dev, 0x70, dword);
 
-	/* Ultra DMA mode */
-	/* enable UDMA */
+	/* Enable UDMA on all devices, it will become UDMA0 (default PIO is PIO0) */
 	byte = pci_read_config8(dev, 0x54);
-	byte |= 1 << 0;
+	byte |= 0xf;
 	pci_write_config8(dev, 0x54, byte);
 
 	/* Enable I/O Access&& Bus Master */




More information about the coreboot mailing list