Re: w83781d i2c driver updated for 2.5.66 (without sysfs support)

From: Martin Schlemmer (azarah@gentoo.org)
Date: Wed Mar 26 2003 - 14:54:09 EST


On Wed, 2003-03-26 at 21:40, Jan Dittmer wrote:
> Martin Schlemmer wrote:
> >
> > I did look at the changes needed for sysfs, but this beast have
> > about 6 ctl_tables, and is hairy in general. I am not sure what
> > is the best way to do it for the different chips, so here is what
> > I have until I or somebody else can do the sysfs stuff.
> >
> I've just done this with the via686a driver. Saves about 100 lines of code.
>
> Comments?
>

Nice example, thanks =) The w83781d does things in similar fashion,
except that it support 6 different 'models', that have more or less
the same readouts except for here and there a few more or less.

Regards,

-- 

Martin Schlemmer


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:25 EST