Subject: Re: SMBus implementation
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 10/27/2005 09:01:18
On Oct 27, 2005, at 7:28 AM, Jared D. McNeill wrote:

>> As for the controller interface, just glue an smbus controller in  
>> as a regular i2c controller, and error out with ENOTSUP if the  
>> arguments to the "exec" method don't match SMBus's constraints.
>
> So for SMBus host implementations, I only want to implement  
> ic_exec, right? I can't think of another way to 'read word' :)

You need to provide ic_acquire_bus, ic_release_bus, and ic_exec.

-- thorpej