Hi, I am using atxp1 module to change vcore on my NForce2 via userspace daemon (see punnoor.de). Currently atxp1 module will write to the log on every vcore change, thus filling up my log - which I don't want. I am no kernel coder, but I guess, this one-liner will change this behaviour in a wanted way, ie output will be made for debug purposes only. (Please use the attached patch, if inlined one got fsked up by TB.) Cheers, Prakash Signed-off-by: Prakash Punnoor <[email protected]> --- drivers/i2c/chips/atxp1.c~ 2005-06-29 13:59:04.000000000 +0200 +++ drivers/i2c/chips/atxp1.c 2005-06-29 13:59:22.164237992 +0200 @@ -144,7 +144,7 @@ if (vid == cvid) return count; - dev_info(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid); + dev_dbg(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid); /* Write every 25 mV step to increase stability */ if (cvid > vid) {
--- drivers/i2c/chips/atxp1.c~ 2005-06-29 13:59:04.000000000 +0200 +++ drivers/i2c/chips/atxp1.c 2005-06-29 13:59:22.164237992 +0200 @@ -144,7 +144,7 @@ if (vid == cvid) return count; - dev_info(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid); + dev_dbg(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid); /* Write every 25 mV step to increase stability */ if (cvid > vid) {
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- Linux 2.6.13-rc1
- From: Linus Torvalds <[email protected]>
- Linux 2.6.13-rc1
- Prev by Date: [PATCH 2.6.12-mm2] m32r: build fix for spinlock_t update
- Next by Date: RE: ipw2200 can't compile under linux 2.6.13-rc1
- Previous by thread: Re: Linux 2.6.13-rc1
- Next by thread: Re: Linux 2.6.13-rc1 - bad tag in git tree?
- Index(es):