> > > + /* setup i2c adapter description */
> > > + dev->adapter.owner = THIS_MODULE;
> > > + dev->adapter.class = I2C_CLASS_HWMON;
> > 
> > Doesn't seem to be HWMON ?
> > 
> You lost me there. Why not ? Many if not all I2C bus drivers register as
> I2C_CLASS_HWMON.

Would you expect platform hardware monitoring devices to be hanging off
it ?

> > If setting the tty to raw 8bit noecho and firing commands over the
> > virtual interface works then turning your driver into an ldisc is pretty
> > trivial. The ldisc interfaces provide data received and allow data writes
> > through the relevant tty.
> > 
> I'll try.

Any queries on the ldisc internals drop me an email

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to