Here's a quick patch for re-working the Tyan S1846 (440BX) tree to work
with the DFI P2BXL (440BX) but using a winbond superio.

(I noticed I forget to modify from "PC87309_SP1" to "W83977TF_SP1"
earlier.)

But still, no console and only "0x80 0x88 0xE7" series bios post_code
seems to be commonly displayed here.

Attached a quick patch for review if anybody's interested.

--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61

Wed Apr 25 23:38:18 PDT 2007
Index: LinuxBIOSv2.20070425/src/mainboard/tyan/s1846/auto.c
===================================================================
--- LinuxBIOSv2.20070425/src/mainboard/tyan/s1846/auto.c	(revision 2618)
+++ LinuxBIOSv2.20070425/src/mainboard/tyan/s1846/auto.c	(working copy)
@@ -34,11 +34,11 @@
 #include "mainboard/bitworks/ims/debug.c"  // FIXME
 #include "pc80/udelay_io.c"
 #include "lib/delay.c"
-#include "superio/nsc/pc87309/pc87309_early_serial.c"
+#include "superio/winbond/w83977tf/w83977tf_early_serial.c"
 #include "cpu/x86/mtrr/earlymtrr.c"
 #include "cpu/x86/bist.h"
 
-#define SERIAL_DEV PNP_DEV(0x2e, PC87309_SP1)
+#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
 
 static inline int spd_read_byte(unsigned int device, unsigned int address)
 {
@@ -68,7 +68,7 @@
 		early_mtrr_init();
 	}
 
-	pc87309_enable_serial(SERIAL_DEV, TTYS0_BASE);
+	w83977tf_enable_serial(SERIAL_DEV, TTYS0_BASE);
 	uart_init();
 	console_init();
 
-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to