Skip to contentSkip to conversation

RFC: Backport of lm77.c to kernel 2.4.x

lm-sensors [email protected] 2 participants 2 messages Dec 21, 2005

lore
Share & tools
lore
#0 lore raw

Hi all.

As mentioned before I've been working on backporting lm77.c to 2.4.x. I still have some minor adjustments on my to-do list for it, but it's already working for me.

Since this is my first i2c-related work and I already did some... well, let's call it "suboptimal" things during the last days in this regard, I'd like to ask for a review of the result. Any feedback and suggestion is welcome, but answers might take some days (I'll be offline until next Tuesday, Dec 27th).

The driver is available via Subversion at
http://projects.otaku42.de/svn/lm77/trunk but you can also view the source with your browser at http://projects.otaku42.de/viewcvs/lm77/trunk/ .

If you want to compile the driver, copy lm77.[ch] to the kernel/chips subdirectory of your local lm_sensors-2.9.2 copy. Then edit kernel/chips/Module.mk and add the line:

KERNELCHIPSTARGETS += $(MODULE_DIR)/lm77.o

right after

KERNELCHIPSTARGETS += $(MODULE_DIR)/smbus-arp.o

Now (re)compile as usual.

Thanks in advance, and merry christmas!

Bye, Mike

#1 lore raw

Hi Michael,

Quoted 8 lines

The driver is available via Subversion at
http://projects.otaku42.de/svn/lm77/trunk but you can also view the source with your browser at http://projects.otaku42.de/viewcvs/lm77/trunk/ .

If you want to compile the driver, copy lm77.[ch] to the kernel/chips subdirectory of your local lm_sensors-2.9.2 copy. Then edit kernel/chips/Module.mk and add the line:

Quoted 7 lines

KERNELCHIPSTARGETS += $(MODULE_DIR)/lm77.o

right after

KERNELCHIPSTARGETS += $(MODULE_DIR)/smbus-arp.o

Now (re)compile as usual.

It would be much easier for everyone if you could just provide a patch against lm_sensors CVS. This is what you will have to provide in the end if you want your driver to be merged in our CVS repository anyway.

Thanks,

Signature · 1 line
Jean Delvare