From owner-freebsd-multimedia Thu Jul 26 14: 7:32 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtp.alcove.fr (smtp.alcove.fr [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id 7A2B737B407; Thu, 26 Jul 2001 14:07:29 -0700 (PDT) (envelope-from nsouch@fr.alcove.com) Received: from nsouch by smtp.alcove.fr with local (Exim 3.12 #1 (Debian)) id 15PsLn-0004AW-00; Thu, 26 Jul 2001 23:07:19 +0200 Date: Thu, 26 Jul 2001 23:07:18 +0200 From: Nicolas Souchu To: Brooks Davis Cc: multimedia@freebsd.org, roger@freebsd.org Subject: Re: bktr and smbus Message-ID: <20010726230718.C15608@ontario.alcove-fr> References: <20010717195452.A9080@Odin.AC.HMC.Edu> <20010719151701.M32191@ontario.alcove-fr> <20010719102456.A30157@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i In-Reply-To: <20010719102456.A30157@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Thu, Jul 19, 2001 at 10:24:56AM -0700 Organization: =?iso-8859-1?Q?Alc=F4ve=2C_http:=2F=2Fwww=2Ealcove=2Ecom?= Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jul 19, 2001 at 10:24:56AM -0700, Brooks Davis wrote: > On Thu, Jul 19, 2001 at 03:17:02PM +0200, Nicolas Souchu wrote: > > At the opposite, FreeBSD has an smbus framework, why don't use it and > > duplicate the I2C logic everywhere? There's no reason not using FreeBSD > > smbus. > > Well, my origional argument was that the driver was alwasy going to have > it's own I2C code (at least until someone gets smbus comitted to NetBSD, > OpenBSD, and BSD/OS) and the current code was kinda messy. However, > roger mentioned that he's planning to use the smbus I2C code for a new > driver so keeping it and more or less making it mandatory is probably > the better approach. > > > The solution is rather at http://people.freebsd.org/~nsouch/iicbus.html > > > > I've uploaded a patch for -current. I'd be very happy to get feedback > > about it. > > Looks good, I can't test it because my bktr cards are both in STABLE Too bad. > systems, but with a couple of changes, I was able to remove NBKTR and > bktr.h from the picture. Below I've provided alternate diffs for > conf/files, dev/bktr/* and modules/bktr/Makefile. Ack, I'll check them. Thanks, Nicholas -- Alcôve Technical Manager - Nicolas.Souchu@fr.alcove.com - http://www.alcove.com Open Source Software Developer - nsouch@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message