- 03 Mar, 2004 3 commits
-
-
Greg Kroah-Hartman authored
This makes userspace tools easier to figure out which i2c-dev device is assigned to which i2c adapter. Yes, we can overflow the i2c dev array right now, but that would take a lot of i2c adapter modprobe/rmmod cycles. That will be fixed up soon.
-
Greg Kroah-Hartman authored
-
Dave Jiang authored
Here's a small patch update to the i2c-iop3xx.c in drivers/i2c/busses/. It fixes some functions' return value and updated the irq handler to be compatible with kernel 2.6. Thanks!
-
- 01 Mar, 2004 1 commit
-
-
Takeru Komoriya authored
I wrote a patch which adds reset option to the it87 driver talking with Jean Delvare. * Do not reset the registers unless users want to do because resetting registers makes all fans go to full power and we can usually rely on values set by BIOS * Remove all limit initializations as they should be done from user-space * Better register mask for start of monitoring
-
- 27 Feb, 2004 1 commit
-
-
Bernhard C. Schrenk authored
The following patch against kernel 2.6.3 adds the w83627hf driver, I have ported from the 2.4 version. Jean Delvare has asked me to send this patch to you for applying. I have tested it on w83627thf. Mark Hoffman has reviewed the code and has also tested it on w83627thf.
-
- 23 Feb, 2004 35 commits
-
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/i2c-2.6
-
Mark M. Hoffman authored
-
Jean Delvare authored
Here is the second step of my sysfs renaming plan. This one does the following renames (as I already announced on the LKML): temp<n>_hyst -> temp<n>_max_hyst or temp<n>_crit_hyst sensor<n> -> temp<n>_type pwm<n> -> fan<n>_pwm pwm<n>_enable -> fan<n>_pwm_enable vid -> in<n>_ref The associated libsensors patch is here: http://jdelvare.net1.nerim.net/sensors/libsensors-sysfs-names-2.diff (not applied yet, on purpose) Note that the w83781d part is a bit more complex, not only because it is the only driver to require the 5 changes, but also because at some point the macros assume that the internal variable names match the sysfs names, so I had to change them too (better than rewriting the macros, methinks). For reference, here is the list of changes, by driver: asb100: hyst -> max_hyst (4) pwm -> fan_pwm (1) pwm_enable -> fan_pwm_enable (1) vid -> in_ref (1) fscher: pwm -> fan_pwm (3) gl518sm: hyst -> max_hyst (1) it87: sensor -> temp_type (3) lm75: hyst -> max_hyst (1) lm78: hyst -> max_hyst (1) vid -> in_ref (1) lm85: pwm -> fan_pwm (3) pwm_enable -> fan_pwm_enable (3) vid -> in_ref (1) lm90: hyst -> crit_hyst (2) via686a: hyst -> max_hyst (3) w83781d: hyst -> max_hyst (2) sensor -> temp_type (3) pwm -> fan_pwm (4) pwm_enable -> fan_pwm_enable (1) vid -> in_ref (1) There's also a documentation update. There will be one more after that (to make it more readable, no contents change), and a patch to lm83.c to bring it to compliance with the (new) standard. (If you wonder why I did not change it with the other drivers: because it was *already* not in compliance with the old standard. There's some real work to do for this one.)
-
Jean Delvare authored
Here it is. The associated libsensors patch is here: http://jdelvare.net1.nerim.net/sensors/libsensors-sysfs-names-1.diff (not applied yet, on purpose)
-
Jean Delvare authored
-
Andries E. Brouwer authored
This sounds like a good moment to come with this patch. This is essentially a five-year-old patch by Bruno Haible. It introduces utf8 mode, and the effect it has on erasing input characters. (Side note - without stty support, this is not very useful, but now the infrastructure is in place)
-
Jean Delvare authored
Now that we have a separate asb100 driver, we can remove the (bad) support of it from the w83781d driver. Following patch does this. I've already cleaned this up in our CVS repository.
-
Jean Delvare authored
Some times ago, you fixed an oops in i2c-core when debugging is enabled: http://marc.theaimsgroup.com/?l=linux-kernel&m=107585749612115&w=2 Looks like you missed that second one:
-
Jean Delvare authored
Here comes a patch by Takeru Komoriya which fixes the way the it87 driver handles temperature sensor types selection. * Use the same values as the CVS driver and sensors program. * Better comments. * Get rid of the old setting method (already gone in CVS). * Handle invalid values correctly.
-
Jean Delvare authored
Here is a patch for the w83781d driver that prevents register bits from being arbitrary changed when we force temp2/3 to comparator mode. Keith Duthie had been reporting various problems with that driver and finally found that this arbitrary change was the cause of them. He also tested this patch, which he confirmed to work.
-
Jean Delvare authored
This patch brings the name field of adm1021.c, it87.c and via686a.c in conformance with the defined standard ("all lowercase, as simple as the driver name itself").
-
Jean Delvare authored
> Oh nevermind, that's just a dumb driver. It's doing a release_region > on memory it didn't get. Stupid, stupid, stupid... While we're at it, what about fixing two other drivers that obviously have the same problem? (BTW I didn't get an oops as I tried reproducing the problem, only a "Trying to free nonexistent resource" in dmesg.)
-
Jean Delvare authored
BTW, I found something to be fixed in i2c-core:
-
Alexander Viro authored
We never use CONFIG_BINFTM_ELF and CONFIG_BINFMT_ELF_MODULE anywhere in the source (they are used in makefiles, obviously). 32bit-emulation binfmt_elf_... in arch/* still define those guys even though it hadn't been needed for years. Junk removed. PS: BTW, CONFIG_BINFMT_ELF32 _is_ used in several places in arch/mips and it looks like they really want #if defined(CONFIG_BINFMT_ELF32) || defined(CONFIG_BINFMT_ELF32_MODULE) in these ifdefs, but that's a separate story...
-
Nathan Scott authored
I was modifying mkfs.xfs to use O_EXCL for 2.6, and hit a snag. It seems that once I've opened a block dev with O_EXCL I can no longer issue the BLKBSZSET ioctl to it. Making this change, the ioctl succeeds cos the original filp bdev owner from open now matches with the owner in the ioctl call.
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/tg3-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/tg3-2.6
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.6
-
Luiz Capitulino authored
-
Luiz Capitulino authored
-
Walter Harms authored
-
Walter Harms authored
-
Walter Harms authored
-
Walter Harms authored
-
Walter Harms authored
-
Alexander Viro authored
-
Andrew Morton authored
- The do_shmat() stub needs `static inline', not `inline' - We need errno.h for ENOSYS.
-
David S. Miller authored
1) Take into account the fact that struct sk_buff, which counts towards socket buffer limits, changes across different platforms. 2) Give ipv4/ipv6 ICMP sockets more accurately the wmem limits they want.
-
Manfred Spraul authored
This renames sys_shmat to do_shmat. Additionally, I've replaced the cond_syscall with a conditional inline function. It touches all archs - only i386 is tested.
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
-
David S. Miller authored
-