Subject: Re: SMBus implementation
To: Jason Thorpe <thorpej@shagadelic.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: tech-kern
Date: 10/27/2005 06:49:45
On Wed, 2005-10-26 at 21:53 -0700, Jason Thorpe wrote:
> On Oct 25, 2005, at 4:07 PM, Jared D. McNeill wrote:
>
> > So I was bored, and decided to whip up some SMBus support code.
> > Feedback
> > would be great.
>
> "Try again." :-)
That's what I was looking for! :)
> This needs to be done within the context of sys/dev/i2c (which
> already has support for doing smbus operations with "regular" I2C
> interfaces). If it doesn't integrate with the existing I2C
> framework, it's a non-starter.
Should 'smbus' attach to iic, or should iic also be an smbus?
> There should not be /dev/smb* device nodes, IMO.
Agreed, but without support for attaching other devices (where the code
is today), not very useful :) It's at least helpful for debugging.
Cheers,
Jared