From owner-freebsd-hackers Sun Jul 19 03:27:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA29451 for freebsd-hackers-outgoing; Sun, 19 Jul 1998 03:27:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA29440; Sun, 19 Jul 1998 03:27:04 -0700 (PDT) (envelope-from son@cezanne.prism.uvsq.fr) Received: from cezanne.prism.uvsq.fr (rtc102.reseau.uvsq.fr [193.51.24.18]) by soleil.uvsq.fr (8.9.1/jtpda-5.3.1) with ESMTP id MAA21726 ; Sun, 19 Jul 1998 12:26:21 +0200 (METDST) Received: (from son@localhost) by cezanne.prism.uvsq.fr (8.8.8/8.8.5) id MAA00905; Sun, 19 Jul 1998 12:32:20 GMT Message-ID: <19980719123220.02032@breizh.prism.uvsq.fr> Date: Sun, 19 Jul 1998 12:32:20 +0000 From: Nicolas Souchu To: FreeBSD Hackers Cc: freebsd-multimedia@FreeBSD.ORG, Marc Bouget Subject: I2C and SMB development status Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e X-Operating-System: FreeBSD breizh 3.0-CURRENT FreeBSD 3.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, I'd like to synchronize current works on I2C and SMB Here we have developed an I2C framework with a PCF (master/slave) driver. It looks like this: +---------+ +----------+ | iic I/O | | if_ic.c | DEVICES +---------+ +----------+ +----------------------+ | iicbus | BUS +----------------------+ +---------+ +----------+ | pcf | | bit-bang | ADAPTERS +---------+ +----------+ iic: master polled I/O allows to access any chip on the i2c bus if_ic: point to point IP driver over i2c iicbus: i2c bus generic code (exactly like ppbus for parallel port) pcf: pcf driver bit-bang: bit banging driver not yet ported from Peter Dufault code (Peter, would you have time/want to port your big-banging code?) A driver could be written for any particular I2C chip as a device code plug over iicbus. I propose to submit this code, which is quit stable, thanks to the IP driver. Mike? I propose the same layout for the SMB part... LM78 as a device, an smbus, PIIX4 as adapter. A first smbus adapter driver could be an i2c device ;) Just to implement SMB command interface. Is there any SMB/LMxx developments currently? -- Nicolas.Souchu@prism.uvsq.fr FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message