From owner-freebsd-arm@FreeBSD.ORG Sat Dec 9 05:33:08 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6994016A403 for ; Sat, 9 Dec 2006 05:33:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A819643CA3 for ; Sat, 9 Dec 2006 05:32:05 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kB95V6Mw047504; Fri, 8 Dec 2006 22:31:06 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 08 Dec 2006 22:32:00 -0700 (MST) Message-Id: <20061208.223200.-1303464500.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20061208114906.GJ54209@cicely12.cicely.de> References: <20061207.205008.-432839162.imp@bsdimp.com> <20061208104227.GH54209@cicely12.cicely.de> <20061208114906.GJ54209@cicely12.cicely.de> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 08 Dec 2006 22:31:07 -0700 (MST) Cc: freebsd-arm@freebsd.org Subject: Re: questions about current RM9200 state X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 05:33:08 -0000 In message: <20061208114906.GJ54209@cicely12.cicely.de> Bernd Walter writes: : On Fri, Dec 08, 2006 at 11:42:28AM +0100, Bernd Walter wrote: : > On Thu, Dec 07, 2006 at 08:50:08PM -0700, M. Warner Losh wrote: : > > In message: <20061208015032.GF54209@cicely12.cicely.de> : > > Bernd Walter writes: : > > : But I can't probe the bus from userland: : > > : [56]arm9# ./iic_probe /dev/iic0 : > > : - and nothing listed. : > > : > > twi doesn't support START/STOP ioctls that you use. Hmmm, that's in : > > p4 that I've removed them because I never got that working. I also : > > think the version in -head isn't the latest, working one. I think you : > > do the same thing with a 0 byte transfer. Except we don't detect : > > NOACK quite right yet, I'm afraid. I'd expect an error each time you : > > tried. : > : > Ah - Ok, will switch to 0 Byte transfers and retest. : : iic.c: : case I2CWRITE: : if (s->count <= 0) { : error = EINVAL; : break; : } : : Well - it wouldn't work without NOACK detection anyway. I think a zero-byte transfer would do it. I've not updated iicsmb to use the new transfer paradigm. That's my bad. Warner