From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 4 00:23:36 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 229BB16A403 for ; Sun, 4 Feb 2007 00:23:36 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 0733413C478 for ; Sun, 4 Feb 2007 00:23:35 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id l140NZK4075660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 3 Feb 2007 16:23:35 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id l140NZOD075659 for freebsd-hackers@freebsd.org; Sat, 3 Feb 2007 16:23:35 -0800 (PST) Received: from fbsd61 ([192.168.200.61]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA22614; Sat, 3 Feb 07 16:19:37 PST Date: Sat, 03 Feb 2007 16:21:35 -0800 From: perryh@pluto.rain.com To: freebsd-hackers@freebsd.org Message-Id: <45c5270f.m+ovKhgdkb0p47OA%perryh@pluto.rain.com> References: <200723171021.907086@poppa> <200702031940.00128.freebsd-hackers@dino.sk> In-Reply-To: <200702031940.00128.freebsd-hackers@dino.sk> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Geode SC1100 i2c bus X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 00:23:36 -0000 > > The ACB is at the same level than Uart, so I had a look at sio > > source and got a big headache. I'm not really used to drivers > > nor kernel programming stuff, that's why I need your help. > > Why do you compare ACB and UART? In FreeBSD, sio is serial i/o > controller, not superIO, maybe you are confused... ACB and UART > does not have much in common... As I read the OP, both the ACB and the serial are in the same chip (the superIO), so it would seem reasonable to expect that the method of accessing the device registers in the (currently unsupported) ACB might be similar to the method of accessing the device registers in the (supported) serial port. Note I said "reasonable" -- it may not be "accurate" -- and this sort of analysis applies only to getting at the hardware. Certainly the means of communicating with the rest of the OS would be different, unless one wants the ACB to show up as sio7 or some such :)