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@assembler.cz Acked-by: Uwe Hermann uwe@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 */
On 10/10/10 1:43 PM, repository service wrote:
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.
Don't we have to find out whether the drive can do UDMA first?
Stefan
Don't we have to find out whether the drive can do UDMA first?
Yeah. Patrick mentioned that in the SB700 thread. I asked about this too. This is just a workaround for Windows7 installer. Looks like MWORDdma does not work for some reason.
Rudolf