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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5931
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
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 */