On Tue, 17 Aug 2004 14:33:01 +0400 Evgeniy Polyakov <johnpol at 2ka.mipt.ru> 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=00 [type=03] As before one can access GNU/Arch archive at http://tservice.net.ru/~s0mbre/2004 branch soekris--main--0. Please review and comment. Thank you. Differences from previous set include: # do not edit -- automatically generated by arch changelog # arch-tag: automatic-ChangeLog--johnpol at 2ka.mipt.ru-2004/soekris--main--0# 2004-08-18 17:55:04 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru> patch-15 Summary: Added run-time SuperIO chip identification. Revision: soekris--main--0--patch-15 Added run-time SuperIO chip identifications. Now differend PC8736* are supported. modified files: sc.c sc.h 2004-08-18 17:35:57 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru> patch-14 Summary: Added sc_w1.c - w1 master over PC87366 GPIO pins. Revision: soekris--main--0--patch-14 Added sc_w1.c - w1 master over PC87366 GPIO pins. new files: .arch-ids/sc_w1.c.id sc_w1.c modified files: Makefile 2004-08-18 17:35:02 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru> patch-13 Summary: Experiments with GPIO pin states and masks. Added control calling into read/write functions. Revision: soekris--main--0--patch-13 Experiments with GPIO pin states and masks. GPIO_PIN_OPENDRAIN | GPIO_PIN_PUSHPULL - can blink. Added control calling into read/write functions. Need for ability to read from line just after writing to it - useful for i2c and w1 emulation. modified files: sc_gpio.c 2004-08-18 17:32:35 GMT Evgeniy Polyakov <johnpol at 2ka.mipt.ru> patch-12 Summary: Removed timer insertion, do not remove logical device if refcnt != 0, added sc_{get,put}_ldev, do not use port read/write operations with delay(*_p). Revision: soekris--main--0--patch-12 Removed timer insertion. Do not remove logical device if refcnt != 0. Added sc_{get,put}_ldev. Do not use port read/write operations with delay(*_p). Added pin_num module parameter for sc.c - selects pin to work with. Removed unneded and commented debug. modified files: sc.c sc.h Evgeniy Polyakov ( s0mbre ) Only failure makes us experts. -- Theo de Raadt -------------- next part -------------- A non-text attachment was scrubbed... Name: sc.c Type: text/x-csrc Size: 9056 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040818/95e65e9b/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: sc.h Type: text/x-chdr Size: 2689 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040818/95e65e9b/attachment-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: sc_gpio.c Type: text/x-csrc Size: 4574 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040818/95e65e9b/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: sc_gpio.h Type: text/x-chdr Size: 1940 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040818/95e65e9b/attachment-0003.bin