From owner-freebsd-hackers Wed Jul 22 03:56:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA04633 for freebsd-hackers-outgoing; Wed, 22 Jul 1998 03:56:44 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA04617; Wed, 22 Jul 1998 03:56:40 -0700 (PDT) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id GAA24059; Wed, 22 Jul 1998 06:28:20 -0400 (EDT) From: Peter Dufault Message-Id: <199807221028.GAA24059@hda.hda.com> Subject: Re: I2C and SMB development status In-Reply-To: <19980719123220.02032@breizh.prism.uvsq.fr> from Nicolas Souchu at "Jul 19, 98 12:32:20 pm" To: Nicolas.Souchu@prism.uvsq.fr (Nicolas Souchu) Date: Wed, 22 Jul 1998 06:28:20 -0400 (EDT) Cc: freebsd-hackers@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG, mbouget@club-internet.fr X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 What do you mean here by "master polled I/O"? > 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?) My schedule doesn't permit it now. Anyone interested in a non-blocking bit banging implementation should look in the i2cslave code in my i2c code. Just now I'm more interested in getting some of your work for the PCF since I need the interrupt driven version and haven't gotten around to it yet. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message