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 <[email protected]> 
Acked-by: Uwe Hermann <[email protected]>

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 */

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to