[coreboot] [commit] r5933 - trunk/src/southbridge/amd/sb600

repository service svn at coreboot.org
Sun Oct 10 22:43:00 CEST 2010


Author: ruik
Date: Sun Oct 10 22:43:00 2010
New Revision: 5933
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5933

Log:
Same applies for SB600.

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/sb600/sb600_ide.c

Modified: trunk/src/southbridge/amd/sb600/sb600_ide.c
==============================================================================
--- trunk/src/southbridge/amd/sb600/sb600_ide.c	Sun Oct 10 21:55:32 2010	(r5932)
+++ trunk/src/southbridge/amd/sb600/sb600_ide.c	Sun Oct 10 22:43:00 2010	(r5933)
@@ -35,10 +35,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