
20 Apr
2021
20 Apr
'21
4:19 p.m.
On Wed, Feb 24, 2021 at 05:44:42PM +0100, Reinoud Zandijk wrote:
Fixes IDE issues found on the Malta board under Qemu:
- DMA implied commands were sent to the controller in stead of the PIO
variants. The rest of the code is DMA free and written for PIO operation.
- direct pointer access was used to read and write the registers instead
of the inb/inw/outb/outw functions/macros. Registers don't have to be memory mapped and ATA_CURR_BASE() does not have to return an offset from address zero.
- Endian isues in ide_ident() and reading/writing data in general. Names
were corrupted and sizes misreported.
Tested malta_defconfig and maltael_defconfig to work again in Qemu.
Signed-off-by: Reinoud Zandijk reinoud@NetBSD.org Tested-by: Heinrich Schuchardt xypron.glpk@gmx.de
Applied to u-boot/master, thanks!
--
Tom