Actually the s2895 need CK804_DEVN_BASE to be set for failover building.
But the Config.lb that is created by abuild doesn't failover section. So that compile error slipped out.
The code is in my own tree.
YH
-----Original Message----- From: linuxbios-bounces@linuxbios.org [mailto:linuxbios-bounces@linuxbios.org] On Behalf Of Stefan Reinauer Sent: Friday, October 13, 2006 3:05 PM To: linuxbios@linuxbios.org Subject: Re: [LinuxBIOS] r2455 - trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804
* svn@openbios.org svn@openbios.org [061013 23:48]:
Author: yhlu Date: 2006-10-13 23:48:38 +0200 (Fri, 13 Oct 2006) New Revision: 2455
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c Log: s2895 failover build
What is this good for?
Modified:
trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c
=================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c
2006-10-13 20:10:09 UTC (rev 2454)
+++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c
2006-10-13 21:48:38 UTC (rev 2455)
@@ -2,8 +2,12 @@
- Copyright 2004 Tyan Computer
- by yhlu@tyan.com
*/ +#if HT_CHAIN_END_UNITID_BASE < HT_CHAIN_UNITID_BASE
#define CK804_DEVN_BASE HT_CHAIN_END_UNITID_BASE
+#else
#define CK804_DEVN_BASE HT_CHAIN_UNITID_BASE
+#endif