From owner-freebsd-hackers Sat May 22 17: 3:29 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from shidahara1.planet.sci.kobe-u.ac.jp (shidahara1.planet.sci.kobe-u.ac.jp [133.30.50.200]) by hub.freebsd.org (Postfix) with ESMTP id A985214DBC for ; Sat, 22 May 1999 17:03:27 -0700 (PDT) (envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp) Received: from shidahara1.planet.sci.kobe-u.ac.jp (localhost [127.0.0.1]) by shidahara1.planet.sci.kobe-u.ac.jp (8.8.8+2.7Wbeta7/8.8.8) with ESMTP id IAA09020; Sun, 23 May 1999 08:54:09 +0900 (JST) Message-Id: <199905222354.IAA09020@shidahara1.planet.sci.kobe-u.ac.jp> To: Marc Nicholas Cc: freebsd-hackers@freebsd.org Subject: Re: ISA LM78 driver help Date: Sun, 23 May 1999 08:54:08 +0900 From: Takanori Watanabe Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Marc Nicholas wrote: >Hello there... > >I have an application where I require access to an LM78 "health monitor" >chip on a certain type of industrial PC motherboard we use. Unfortunately, >the LM78 is tied to ISA and not I2C/SMBus. > >Can anyone recommend a good framework to start writing a driver for this >beastie? I've never actually written a driver before (*gulp*), so please >treat me gently ;-) > >In essense, the chip sits at 0x290 with an address line at 0x290+5 and a >data line at 0x290+6. I'd be happy writing a program that merely peeks and >pokes in that address area, rather than a fully-fledged driver... > >TIA. > I have two imprementation about it. One is userland imprementation based on code by Shimizu-san. It is available at http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/xmbmon104.new.tar.gz And I wrote experimental kernel driver for LM78. http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/sys/lm-dist.tar.gz Regards, Takanori Watanabe Public Key Key fingerprint = 2C 51 E2 78 2C E1 C5 2D 0F F1 20 A3 11 3A 62 2A To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message