From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 19 00:43:48 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0212816A4CE for ; Wed, 19 Jan 2005 00:43:48 +0000 (GMT) Received: from mail27.sea5.speakeasy.net (mail25.sea5.speakeasy.net [69.17.117.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id B57D743D2F for ; Wed, 19 Jan 2005 00:43:47 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 20521 invoked from network); 19 Jan 2005 00:43:47 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Jan 2005 00:43:47 -0000 Received: from hydrogen.funkthat.com (mzsxer@localhost.funkthat.com [127.0.0.1])j0J0hkGH036312; Tue, 18 Jan 2005 16:43:46 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id j0J0hern036311; Tue, 18 Jan 2005 16:43:40 -0800 (PST) Date: Tue, 18 Jan 2005 16:43:40 -0800 From: John-Mark Gurney To: Milan Obuch Message-ID: <20050119004340.GT19624@funkthat.com> Mail-Followup-To: Milan Obuch , freebsd-hackers@freebsd.org References: <200501141015.37516.bsd@dino.sk> <200501161501.17096.bsd@dino.sk> <20050117115501.GB752@empiric.icir.org> <200501171314.31179.bsd@dino.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501171314.31179.bsd@dino.sk> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-hackers@freebsd.org Subject: Re: Geode integrated peripherals support? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 00:43:48 -0000 Milan Obuch wrote this message on Mon, Jan 17, 2005 at 13:14 +0100: > On Monday 17 January 2005 12:55, Bruce M Simpson wrote: > > On Sun, Jan 16, 2005 at 03:01:17PM +0100, Milan Obuch wrote: > > > ACCESS.bus support (i2c bus compatible) and LPC bus bridge (for > > > expansion). The first one is present in OpenBSD. I am currently studying > > > that and FreeBSD kernel sources to try port it, however, any help would > > > be great. No idea on LPC, through... > > > > There's some i2c support in FreeBSD already, whether or not this applies > > to the i2c hardware in the Geode I don't know. iic(4) would be a good > > place to start. > > I think so. However, I built kernel with device iic, iicbus, iicbb, but > nothing shows. As said, I am doing my 'homework' now - astudying sources, > but, as usual, any help appreciated. Well, as having used the i2c code, I know it works... You probably need to look at the hardware spec, and figure out if you need to write a iicbb device driver (one that directly controls the SCL/SDA lines), or a higher level one, that has hardware that can issue i2c reads and wrights directly... I recently d/l'd the ACCESS.bus spec myself, since I have a firewire/usb2.0 card that says it's an ACCESS.bus card, but not quite (the subrev is wrong for access.bus), and didn't realize that ACCESS.bus was so close to i2c.. There might need to be a layer written on top of i2c to make it appear as an access.bus and do access.bus type things.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."