[LinuxBIOS] [PATCH] fix port 0 on sata controller 0 for ck804 based boards

Ward Vandewege ward at gnu.org
Thu Nov 15 21:44:07 CET 2007

Hi all,

There is a problem with the ck804 code in the tree when it comes to SATA
support. I've observed this on a tyan s2891, and it has been confirmed by
folks with a sun ultra40.

This patch changes the southbridge/nvidia/ck804/ck804_early_setup.c file and
enables one extra SATA port. I've tested this on real hardware (tyan s2891).

There is a very similar file called
southbridge/nvidia/ck804/ck804_early_setup_car.c which seems to be used by


I don't have access to a s2895, but YH thinks that all sata ports should work
on that board. It would be great if someone could verify that.

I'm not 100% sure why both the ck804_early_setup.c and the
ck804_early_setup_car.c file are included in the mainboards/sunw/ultra40/
tree; probably only one of those files is actually used.

I've spent quite a bit of time with 'dumpio' and tried to match register
values between the proprietary BIOS and LinuxBIOS, but to no avail. If
someone has ideas to get port 1 working on both sata controllers, that would
be great.


Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior System Administrator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ck804-fix-one-sata-port.patch
Type: text/x-diff
Size: 2222 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071115/b6277d86/attachment.bin>

More information about the coreboot mailing list