From: johnpol@2ka.mipt.ru (Evgeniy Polyakov) Date: Thu, 19 May 2005 06:25:12 +0000 Subject: [PC87366] A bit different design for it's SuperIO. Message-Id: <20040819082235.7289e75b@zanzibar.2ka.mipt.ru> List-Id: References: <1092648290.12729.471.camel@uganda> In-Reply-To: <1092648290.12729.471.camel@uganda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On Wed, 18 Aug 2004 22:10:21 +0400 Evgeniy Polyakov wrote: > On Tue, 17 Aug 2004 14:33:01 +0400 > Evgeniy Polyakov wrote: > > > > 3* The Super-I/O mechanics are not PC8736x-specific. It is a > > > standard(established by Intel some years ago) used by all > > > Super-I/O chips, including those made by National Semiconductor, > > > ITE, Winbond, SMSC and VIA. This means that your driver should > > > most likely be completely generic, and probably doesn't even need > > > to know of any chip ID. It could, OTOH, export an ID test function > > > (although I guess it wouldn't be any different from the register > > > read function with register set to 0x20). > > > > Probably we need to call the testers, I will extend driver to > > support different ID's for now, but only for PC8736*. > > > > Will send files soon. > > Done. > dmesg: > Soekris SuperIO driver is starting... > Found PC87366 [0xe9] at 0x002e-0x0030. > GPIO logical device driver is activating now. > GPIO - activated: 0x6600-0x6610, irq [type] > > As before one can access GNU/Arch archive at > http://tservice.net.ru/~s0mbre/2004 branch soekris--main--0. > > Please review and comment. BTW, If someone really want to use this then it requires following patch(also attached): s0mbre@zanzibar:~/aWork/soekris$ tla cat-log patch-16 Revision: soekris--main--0--patch-16 Archive: johnpol@2ka.mipt.ru-2004 Creator: Evgeniy Polyakov Date: Thu Aug 19 00:54:56 MSD 2004 Standard-date: 2004-08-18 20:54:56 GMT Modified-files: sc_gpio.c New-patches: johnpol@2ka.mipt.ru-2004/soekris--main--0--patch-16 Summary: Fixed read bug - we must read from GPIO INPUT register, not OUTPUT. Control manipulations in ->activate(). Keywords: Fixed read bug - we must read from GPIO INPUT register, not OUTPUT. Control manipulations in ->activate(). --- orig/sc_gpio.c +++ mod/sc_gpio.c @@ -68,13 +68,14 @@ for (i=0; i