On Fri, Oct 31, 2008 at 07:49:52PM +0100, Peter Stuge wrote:
+#define VT1211_HWM 11 /* Hardware Monitor */
The LDNs here are wrong (probably a copy of some Winbond Super I/O), please check v2's vt1211.h or the datasheet for the correct ones.
Not sure how I produced this but I definately did look at v2 for the serial port. I may have left the other untouched.
Yeah, serial should work, but superio.c is bogus.
+++ superio/via/vt1211/superio.c (revision 0)
Pretty much all of this file's code won't work/apply for VT1121,
I know, I wrote that in the message. Are you suggesting that we need private repositories for work in progress?
No, I'm suggesting to not commit obviously non-working/broken code. Instead, I suggest something like the attached patch for work-in-progress commits, a small stub to make it compile, nothing more.
I fixed the LDNs in the *.h file and dropped all the broken stuff from superio.c. Alternatively we might just as well drop superio.c completely until a working version of it gets done (if the code can compile without a superio.c being there).
Uwe.