[coreboot] Only UDMA/33 PATA on m57sli, UDMA/66 with factory BIOS

Harald Gutmann harald.gutmann at gmx.net
Mon Jul 13 22:14:40 CEST 2009

On Monday 13 July 2009 20:32:46 Harald Gutmann wrote:
> 4. 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: udma_80wire.diff
Type: text/x-patch
Size: 820 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090713/452901f3/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090713/452901f3/attachment.sig>

More information about the coreboot mailing list