- 04 Dec, 2003 4 commits
-
-
Jean Delvare authored
Summary of the changes: adm1021.c: No changes, that chipset uses a real min/max model. eeeprom.c: No changes (obviously). it87.c: Remove buggy comments (obviously taken from via686a) about max and min temperature limits being over and hyst. This isn't the case for this driver (min/max model). lm75.c: Simple sysfs file name change (temp_min to temp_hyst). lm78.c: Simple sysfs file name change (temp_min to temp_hyst). lm85.c: No changes needed (min/max model). via686a.c: Rename functions and macros from min/max to hyst/over, what it really is. Remove unnecessary comments. Rename sysfs files from temp_min[1-3] to temp_hyst[1-3]. w83781d.c: Rename variables from temp_min* to temp_hyst* (needed so that the macros keep working). Update macro calls accordingly. Fix writing temp to max and hyst being swapped. Additional remarks: The lm75 and lm78 having a single temperature channel, there is no number appended to the file names. Shouldn't a "1" be appended in this case? I think it would make it easier for the future library to catch all the files. I made sure the drivers would still compile after the changes, but did not test them otherwise (no working 2.6.0 kernel here, and not all the hardware anyway).
-
Jean Delvare authored
1* No more current hysteresis value. I don't think we ever saw a chip which monitors current, and if we ever do, I would be very, very surprised if it would have an hysteresis value. 2* Temperature input and max can have 4 values. [from the previous patch] 3* Split temperature min and hysteresis into two separate files. 4* New file temp_crit. [from previous patch] The new file temp_crit is subject to change later as we decide more precisely how we want to handle values that are common to more than one temperature channels.
-
Jean Delvare authored
Here follows a patch to i2c-algo-bit.c as found in linux-2.6.0-test9, with two fixes for adapters that cannot read SCL back. Althouth real adapters should be able to read SCL back, there are some that cannot, for example the ADM1032 evaluation board I am using. Such adapters where supposed to be already supported, but I found a probable bug and improved support. These changes were applied to our i2c CVS repository two weeks ago and have been reviewed by Mark D. Studebaker. List of changes: * Fix sclhi() for adapters that do not have getscl(). * Enable bit_test for adapters that do not have getscl(). * Mostly rewrite test_bus(), cleaner and probably faster.
-
bk://linuxusb@linuxusb.bkbits.net/i2c-devel-2.6Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/i2c-new_drivers-2.6
-
- 03 Dec, 2003 8 commits
-
-
Jean Delvare authored
This is a patch to writing-clients. The current version in Linux 2.6 still mentions the old module reference counting mechanism. The patch brings it to the same version we have in i2c CVS, where that section has been updated.
-
Jean Delvare authored
This is the document I wrote (and you reviewed) about porting client drivers to Linux 2.6. The retained name is "porting-clients" (in line with writing-clients). I won't commit it to i2c/lm_sensors2 CVS, since that document is of no use outside of the 2.6 kernel (and I'm bored keeping files in sync).
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/i2c-new_drivers-2.6
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Ingo Molnar authored
The pid_alive() check within the loop is incorrect. If we are within the tasklist lock and the thread group leader is valid then the thread chain will be fully intact. Instead, the check should be _outside_ the loop, since if the group leader no longer exists, the whole list is gone and we must not try to access it. Move the check around, and add comment. Bug-hunting and fix by Srivatsa Vaddagiri
-
Pavlin Radoslavov authored
-
Harald Welte authored
-
Hideaki Yoshifuji authored
-
- 02 Dec, 2003 2 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
- 01 Dec, 2003 2 commits
-
-
Ingo Molnar authored
When doing sync wakeups we must not skip the notification of other cpus if the task is not on this runqueue.
-
Hirofumi Ogawa authored
We need to initialize st->state in tcp_seq_start(). Otherwise tcp_seq_stop() is run with previous st->state, and it calls the unneeded unlock etc, causing a kernel crash.
-
- 26 Nov, 2003 2 commits
-
-
Linus Torvalds authored
-
Ben Collins authored
I've got a lot more changes than what's included here. I've put this down to the bear minimum to get things working sanely. Mainly, I just want to get all the people hit by this a chance to use 2.6.0 without having to get our tree. Changes itemized: - Fix deadlock possibility in csr.c:read_maps() - Fix kmalloc to use ATOMIC in highlevel.c. - s/in_interrupt/irqs_disabled/ in ieee1394_transactions.c to fix warnings when transactions occured. - Introduce a release callback for the host driver and use it correctly. - Reorganize the nodemgr probe so we do an initial scan to discover devices, check IRM/CycleMaster, then do a final full probe when things are kosher. Fixes a problem where device registration and hotplug would cause some serious problems when a bus reset was forced in the middle of the probe.
-
- 25 Nov, 2003 15 commits
-
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Stephen Hemminger authored
There are /proc handles there setup by proc_tty_register_driver, but there is no module ownership association, so anything that reads after module unload will blow. The trivial fix is to propagate the owner of tty_driver to proc entry.
-
Jan Marek authored
This fixes a small, but important bug in smsc-ircc2.c. Without this the driver tries release the same region twice.
-
David Mosberger authored
Tracked down by Rohit Seth.
-
David Mosberger authored
-
Jean Tourrilhes authored
Do not special case ENOMEM as an error code, we should free up the packet for all errors.
-
Pete Zaitcev authored
Most of the breakage came from cset 1.838.10.3
-
Pete Zaitcev authored
-
Bart De Schuymer authored
The br_netfilter_{init,fini}() calls need to be guarded by BRIDGE_NETFILTER, from Michal Janusz Miroslaw.
-
Hideaki Yoshifuji authored
When bringing an interface down do not forget to clear the IF_RS_SENT and IF_RA_RCVD flags.
-
bk://gkernel.bkbits.net/libata-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Dave Kleikamp authored
This fixes an oops that can occur if JFS is used as the root filesystem. Writes to a device node may cause a ->write_inode to be called during a read-only mount. JFS needs to check for NULL log in jfs_flush_journal.
-
Linus Torvalds authored
-
- 24 Nov, 2003 7 commits
-
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
Also, make sure NET_RX_DROP is returned if we did not accept the packet.
-
David S. Miller authored
-
David S. Miller authored
In implementations that use no socket locking, such as RAW sockets, once we queue the SKB to the socket another cpu can remove the SKB from the socket queue and free up the SKB making the skb->len access touch freed memory. Based upon a report from Burton Windle, kernel bugzilla #937
-
bk://linux-scsi.bkbits.net/scsi-bugfixes-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
-
Benjamin Herrenschmidt authored
Also add some ServerWorks-specific tweaks.
-