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
tyan/s2895 sunw/ultra40
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.
Thanks, Ward.