Date: Thu, 26 Jul 2001 23:07:18 +0200 From: Nicolas Souchu <nsouch@fr.alcove.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: multimedia@freebsd.org, roger@freebsd.org Subject: Re: bktr and smbus Message-ID: <20010726230718.C15608@ontario.alcove-fr> 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 References: <20010717195452.A9080@Odin.AC.HMC.Edu> <20010719151701.M32191@ontario.alcove-fr> <20010719102456.A30157@Odin.AC.HMC.Edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010726230718.C15608>