- 30 Apr, 2003 13 commits
-
-
Andrew Morton authored
From: Miklos.Szeredi@eth.ericsson.se (Miklos Szeredi) This fixes a problem with method 0 of proc_file_read (when the whole file is copied to the page). The calculation of the final bytecount is wrong, and hence smaller then page size reads will give a truncated file. Current 2.4 kernels do it this way as well.
-
Andrew Morton authored
From: Krzysztof Halasa <khc@pm.waw.pl> Updates the HDLC drivers to the approved module API.
-
Andrew Morton authored
From: Paul Clements <Paul.Clements@SteelEye.com> Currently, when I build ext3 as a module, jbd gets built into the kernel proper. This trivial patch allows jbd to be built as a module when ext3 is also modular. I believe this is the intention, as this is how it works in 2.4. I've built and tested with modular jbd and ext3 on 2.5.68.
-
Andi Kleen authored
-
Andrew Morton authored
From: Dave Olien <dmo@osdl.org> Christoph submitted a patch to linus last week fixing up some DAC960 driver entry points. That patch will OOPS during boot on version 2 controller types. Christoph's version of the disk_size() function was dereferencing a NULL pointer in it's "else" clause. Christoph's patch hasn't appeared in linus's BK tree yet. So, I'm resending Christoph's orignal patch with my fix to disk_size() included. This patch can be applied to the driver in Linus's BK tree from April 28. Here's Christoph's original description of his patch: Some grepping showed that DAC960's open routine was duplicating parts of check_disk_change(). I went on fixing this by implementing a media_changed method and making DAC960_Open use it. While looking at the surrounding code I noticed that (a) all methods weren't using the private data the upperlayer hands to it properly, but instead using kdev_t-based indexes (b) DAC960_Open/DAC960_Release was keeping never used counters (c) DAC960_Open was doing tons of checks the upperlayer already does (d) DAC960_Release was entirely superflous. The patch below corrects that and rewrites the block entry points into readable code - 100 LOC are gone and the same amount replaced by readable code.
-
Andrew Morton authored
Fix a few unused var warnings in drivers/block/xd.c
-
Andrew Morton authored
From: Manfred Spraul <manfred@colorfullife.com> apm.c:suspend() calls set_system_power_state() under (effectively) spin_lock_irq(i8253_lock). But set_system_power_state() unconditionally enables interrupts, in apm_bios_call_simple(). This generates nasty warnings from the uniprocessor spinlock debugging code, and would be deadlocky if APM worked on SMP. So drop the locks around the set_system_power_state() call.
-
Andrew Morton authored
Update bttv driver to the new IRQ API.
-
Andrew Morton authored
Fixes a bug spotted by Alexey Mahotkin <alexm@hsys.msk.ru>: the slab-internal SLAB_NO_GROW bit clashes with __GFP_NORETRY. Fix that up so it won't happen again by moving the bit layout into gfp.h.
-
Andrew Morton authored
Some IRQ udpates for IRDA which seemed to get lost.
-
Andrew Morton authored
IRQ API udpate in i2c-elektor.c
-
Rusty Russell authored
Introduces __module_get for places where we know we already hold a reference and ignoring the fact that the module is being "rmmod --wait"ed is simpler.
-
Rusty Russell authored
Restores .modinfo section, and uses it to store license and vermagic.
-
- 29 Apr, 2003 6 commits
-
-
bk://bk.arm.linux.org.uk/linux-2.5-serialLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alex Williamson authored
This one-liner is required for PCI serial ports that have multiple MMIO ports off a single PCI BAR. Calls to request_mem_resource() fail after the first one otherwise. Patch against 2.5.67. Thanks,
-
bk://bk.arm.linux.org.uk/linux-2.5-pcmciaLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/class-2.5
-
Christoph Hellwig authored
Update the dcache section in Documentation/filesystems/Locking to match reality. Note that there's other parts of this file that are badly out of date - I'll look into it later.
-
Christoph Hellwig authored
this fixes a harmless but annoying warning when compiling one of the tape drivers without devfs.
-
- 28 Apr, 2003 11 commits
-
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Marc Zyngier authored
The included patch cleans up the EISA code : - Documentation update, - Remove i386 EISA ID reservation (handled in the generic code), - Add some preliminary support for EISA-like VLB cards (Adaptec 287x), - Add some stricter dependancies for EISA_VIRTUAL_ROOT - Preliminary support for EISA DMA, - Much more conservative probing, - EISA IDs list update (Compaq stuff).
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.5
-
David S. Miller authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
* Need _rcu on the list_for_each_entry in br_get_port because called in read path for some ioctls * Move two small functions is_root_bridge and is_designated_port into inlines because they are so short.
-
Stephen Hemminger authored
-
Bart De Schuymer authored
-
Stephen Hemminger authored
-
Steven Cole authored
-
bk://kernel.bkbits.net/acme/net-2.5David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
- 29 Apr, 2003 2 commits
-
-
Arnaldo Carvalho de Melo authored
Thanks to Rusty for spotting this one, if the net family module is not there anymore (or is going away at that time) it is not supported, not busy.
-
Arnaldo Carvalho de Melo authored
Thanks to Rusty for spotting this one, if the protocol module is not there anymore (or is going away at that time) it is not supported, not busy.
-
- 28 Apr, 2003 8 commits
-
-
Arnaldo Carvalho de Melo authored
With this the pppox module is protected by the networking core and the pppox "core" protects modules for specific pppox protocols (pppoe, for instance), while doing it removed some not needed struct sock member initializations in pppoe_create that are done by sock_init_data.
-
Arnaldo Carvalho de Melo authored
. rename proto to pppox_protos, even being static this is too generic a name . use rc as the name for result variables, just for consistency with other net sources This is in preparation for having a proper net family module level modules infrastructure, with the top level (af_pppox) doing the module refcounting before calling any functions registered by the lower level protocol modules (in this case just PPPOE for now).
-
Arnaldo Carvalho de Melo authored
. use switch/case alignment at the same column, more common in the kernel sources . remove outdated module refcounting comments . have just one exit (return) in the ioctl functions . use 'rc' for return variables, not ret or err, for consistency on naming.
-
Greg Kroah-Hartman authored
These files are no longer needed due to class changes.
-
Greg Kroah-Hartman authored
This isn't the optimal fix, but things still work properly for me with my hardware and this patch. Dominik Brodowski has stated he will be fixing up this code a lot more after the class changes are in the main tree.
-
Greg Kroah-Hartman authored
Yes, this patch is not logically correct, in that the scsi-host class no longer works, but Mike Anderson has a patch that will be submitted that fixes all of these problems.
-
bk://kernel.bkbits.net/acme/net-2.5David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Greg Kroah-Hartman authored
Note, tty_class will be flushed out in the future, this is just to get things building again properly.
-