Messages in this thread | | | Date | Tue, 25 Mar 2003 20:33:45 +0100 | From | Jan Dittmer <> | Subject | Re: add eeprom i2c driver |
| |
Greg KH wrote: > On Tue, Mar 25, 2003 at 03:42:14PM +0100, Jan Dittmer wrote: > >>This adds support for reading eeproms. >>Tested against latest bk changes with i2c-isa. > > > I'd like to hold off in submitting the i2c chip drivers just yet, due to > the changes for sysfs that are going to be needed for these drivers. > > As an example of the changes necessary, here's a patch against the i2c > cvs version of the eeprom.c driver that converts it over to use sysfs, > instead of the /proc and sysctl interface. It's still a bit rough, but > you should get the idea of where I'm wanting to go with this. As you > can see, it takes about 100 lines of code off of this driver, which is > nice. > > I'm copying the sensors list too, as they wanted to see how this was > going to be done. > > Comments? >
Looks good, I'll try to come up with a converted version of via686a later. Should tidy up a lot.
Jan
- 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/
| |