On Monday 13 July 2009 20:32:46 Harald Gutmann wrote:
- assume you did everything right and claim that it is value 0x72
(hopefully you got it right with the pci-register-endianness and the address number). ;)
Okay, this was for sure wrong, as I read the line number instead the pci- register number. It has to be 0x52 instead 0x72.
Attached is a little patch, which is not working on different hardware than mine, as some values are hard-coded. Also the place I patched that stuff is totally "wrong".
This patch works for me on my hardware: [ 2.256143] hda: UDMA/133 mode selected [ 2.256333] hdb: UDMA/66 mode selected
There are a few things which I need to figure out to get this stuff working like it should: [*] Where shall I add the patch? src/southbridge/nvidia/mcp55/mcp55.c in mcp55_enable case device = IDE? some better/different suggestions?
[*] How to figure out the UDMA modes supported by the attached devices in coreboot? As this is according to IDE devices which can be changed at any time, it would be necessary to check for supported UDMA modes on run-time.
Any suggestions/ideas/further reading documents/... is welcome.
Kind regards, Harald Gutmann