Subject: Re: New i2c framework
To: None <cgd@broadcom.com, eeh@netbsd.org>
From: None <eeh@netbsd.org>
List: tech-kern
Date: 02/19/2002 19:48:19
| > A framework for smart SMBus controllers can be easily built on a more
| > general i2c framework.
|
| How do you figure?  you need to expose the well-defined smbus commands
| all the way through the interface, or every back-end driver has to
| look at the commands that it sees, and try to recognize them as
| specific smbus commands.

I'd have thought that was obvious.  You create a SMBus interface which
SMBus devices call to generate a series i2c operations, then call 
i2c_cmd() as often as required to process the i2c commands.  SMOP.

Eduardo