- 16 Jun, 2003 2 commits
-
-
Margit Schubert-While authored
OK Here's the patch which : 1) Fixes the race conditions 2) Correctly reports the temps :-) 3) Removes a bit of gunk in the defines which I forgot
-
Mark M. Hoffman authored
This patch vs. 2.5.70 adds support for LM78, LM78-J, and LM79 sensors chips based on lm_sensors project CVS. This works on one of my boards. I want to draw attention to something I did with this driver by comparing it to it87.c in 2.5.70: > #define IT87_INIT_TEMP_HIGH_1 600 > #define IT87_INIT_TEMP_LOW_1 200 The hardware uses degrees C, and sysfs uses degrees C * 1000. But these #defines are apparently in units of degrees C * 10. This arbitrary intermediate representation bugs me. And given the new 2.5 sysfs standard, it's unnecessary. In this patch for lm78, I rewrote the conversion routines in terms of the sysfs units - getting rid of the intermediate nonsense. If there are no objections, I'm going to start passing patches to do this to the other sensor chip drivers in 2.5 as well. It would be nice to get some help with this too... especially since I don't have all that hardware at hand to test the results.
-
- 15 Jun, 2003 30 commits
-
-
Rusty Russell authored
1) We export __check_region, so making it __deprecated gives a spurious warning in kernel/ksyms.c. 2) Other warnings refer to __check_region rather than check_region, which has confused some people. Make check_region an inline, not a macro, and deprecate *that*.
-
Greg Ungerer authored
A number of small ColdFire serial driver fixups: - use correct irq handler return type (irqreturn_t) - add support for mark and space parity - some casting to keep types clean (and remove compile warnings) - fix missing ";" after local tty_driver struct definition
-
Greg Ungerer authored
We no longer use sub-architecture speicific interrupt setups in the m68knommu branch. Remove obsolete call to 68328 irq init.
-
Greg Ungerer authored
Make the ROMfs copy in the startup code for Motorola/M5206eLITE board conditional on actually using a ROMfs setup.
-
Greg Ungerer authored
Minor board name change in m68knommu setup, "Dragon Engine" -> "DragonEngine".
-
Andi Kleen authored
The NCP ioctls are declared unconditionally in compat_ioctl now, which needs this include to still compile on x86-64.
-
Andi Kleen authored
The us->ns conversion must be in the "tv" if branch of settimeofday, not in the "tz" if. Also make it compile for x86-64 again. The 32bit emulation was forgotten in the conversion.
-
Matthew Dharm authored
This moves the initialization of the struct scsi_device fields use_10_for_ms and use_10_for_rw into a central place. This allows the host's slave_configure() function to change them (with effect). This also collapses two identical sections of code into a single one. This is needed by usb-storage, so we can resolve some Babble problems, some device-crashing problems, and remove a great deal of troublesome mode-sense-translation code.
-
Matthew Wilcox authored
This update covers a lot of changes to arch/parisc and parisc-specific drivers. - irq_return_t changes - more work on the module loader (James Bottomley) - rewrite of led.c by Helge Deller - many miscellaneous updates
-
Samuel Thibault authored
At least gcc 3.3 complains about this incorrect token pasting thing in the ASSERT macro of drivers/net/irda/ma600.c
-
bk://bk.arm.linux.org.uk/linux-2.5-pcmciaLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Russell King authored
Although no such oops has been reported, removing a socket driver while a file under /sysfs/class/pcmcia_socket/pcmcia_socket* is held open by user space could potentially cause an oops. Plug this by preventing pcmcia_unregister_socket from returning until all references by sysfs to the pcmcia socket have been dropped.
-
Russell King authored
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-pcmcia
-
Daniel Ritz authored
Patch from Daniel Ritz rmmod yenta produces the following oops: Unable to handle kernel paging request at virtual address d084781e EIP is at yenta_config_init+0x18f/0x1e0 [yenta] Process pccardd (pid: 2618, threadinfo=c3236000 task=c988ae60)
-
Russell King authored
Update sa11xx_core.c for Dominik's previous patch.
-
Dominik Brodowski authored
Remove the inquire_socket callback by moving the (static) capability information to the top-level of struct pcmcia_socket.
-
Dominik Brodowski authored
Move the creation of /proc/pccard to ds.c so that ds.c is the only file that needs to include linux/proc_fs.h any longer.
-
Dominik Brodowski authored
Remove the proc_setup callback. The drivers can use CLASS_DEVICE_ATTR instead. Example: i82365.c.
-
Roman Zippel authored
Declare the parameter array as an array, rather than a single entry. This doesn't matter for code generation, but may be less likely to cause problems down the line, since we're telling gcc more about the real situation.
-
Andi Kleen authored
Thanks to Jan Hubicka who suggested this fix. The problem seems to be that gcc generates a 32byte alignment for static objects > 32bytes. This causes gas to set a high alignment on the section, which causes the uneven (not multiple of sizeof(struct kernel_param)) section size. The pointer division with a base not being a multiple of sizeof(*ptr) then causes the invalid result. This just forces a small alignment, which makes the section end come out with the correct alignment. The only mystery left is why ld chose a 16 byte padding instead of 32byte.
-
Paul Mundt authored
This adds the missing arch/sh/tools directory, which includes mach-type generation scripts for building include/asm-sh/machtypes.h.
-
Paul Mundt authored
drivers/hotplug/Kconfig moved to drivers/pci/hotplug/Kconfig. This updates arch/sh/Kconfig respectively.
-
Stelian Pop authored
* replace the pci_alloc_consistent calls with dma_alloc_coherent because we want to do the allocations at GFP_KERNEL priority and not GFP_ATOMIC because we request quite a bit of memory and the allocation fails quite frequently. It would be better to have a pci_alloc_consistent with an extra parameter (priority) but since we haven't, and the meye driver is supposed to work only on ix86 platforms we can safely do the change. * fix the DMA engine stop request. The hard freezes encountered when using this driver and repeatedly opening/closing the device have been tracked down to this particular piece of code. The new version seems to work way better, I haven't had a single freeze since the change. * fix the irq handler prototype (irqreturn_t changes).
-
Stelian Pop authored
* fix a hang problem when loading the driver on (at least) a PCG-FX105k. Thanks to Jozef Kruger for reporting the problem and testing different versions of this fix. * fix a .text.exit problem in the sonypi driver related to the recent PM changes (thanks to Adrian Bunk for the patch). * fix the irq handling reports (make sonypi always report IRQ_HANDLED) because there *are* events belonging to the sonypi device which are not (yet) recognized by the driver and we don't want those to pollute the logs... * test if the ACPI subsystem is not disabled before trying to use its ec_read/ec_write methods. * fix the hangs when enabling bluetooth (thanks to Daniel K. for the patch). * other miscellaneous small fixes.
-
Brian Gerst authored
Use local_irq_[disable|enable]() instead of hand-coded asm.
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Trond Myklebust authored
This fixes the problems with NFS that got triggered by the list poisoning. The problem is that whereas using the dentry->d_hash list for private purposes was previously harmless, it is not allowed with the RCU lists, because we depend on the unhashed node continuing to point back to the original list. So keep a small vector of dentries around instead of using the d_hash list to keep track of them.
-
David S. Miller authored
-
David S. Miller authored
-
- 14 Jun, 2003 8 commits
-
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Kazunori Miyazawa authored
-
David S. Miller authored
-
David S. Miller authored
-
Paul Mackerras authored
-
Stephen Hemminger authored
This patch changes network devices to run hotplug out of the kobject/class_device infrastructure rather than calling it from the network code. The code gets simpler and there is only one place for Greg to fix when he changes the API. All hotplug now happens off the chain: rtnl_unlock -> netdev_run_todo -> netdev_sysfs_{un}register The state flag deadbeef was converted to a state enumeration tp handle necessary book keeping, and adds some defense against drivers that have unexpected semantics.
-
Stephen Hemminger authored
-
Ravikiran G. Thirumalai authored
-