- 11 Jun, 2003 1 commit
-
-
Dominik Brodowski authored
Split up the socket initialization in cs.c into two pieces: pcmcia_register_socket / pcmcia_unregister_socket will focus on registering sockets with the device core in future, set all necessary fields etc. pcmcia_add_socket / pcmcia_remove_socket will use an interface to the device class "pcmcia_socket_class" in future, and mainly take care of what initialization cs.c needs to work properly. This patch is almost completely limited to shuffling code around cs.c | 157 +++++++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 83 insertions(+), 74 deletions(-)
-
- 10 Jun, 2003 5 commits
-
-
Dominik Brodowski authored
If we use try_module_get(driver->owner) at the right place (and module_put as well, of course), the check for (driver->use_count > 0) can't ever return true. So get rid of it, and add the proper module locking calls. ds.c | 22 +++++++--------------- 1 files changed, 7 insertions(+), 15 deletions(-)
-
Dominik Brodowski authored
This patch removes the socket_table from cs.c and friends. bulkmem.c | 2 - cs.c | 83 ++++++++++++++++++++++++---------------------------------- cs_internal.h | 7 ++-- ds.c | 2 - rsrc_mgr.c | 10 ++++-- 5 files changed, 46 insertions(+), 58 deletions(-)
-
Dominik Brodowski authored
This adds a list of all pcmcia sockets which will replace the current table-based approach. Also, ds.c now relies on cs.c to get the proper "struct pcmcia_bus_socket *" for the corresponding socket number.
-
Dominik Brodowski authored
This patch introduces "struct pcmcia_socket" which is 100% equal to the "socket_info_t" defined previously in drivers/pcmcia/cs_internal.h Unfortunately, a few other definitons need to be moved as well. drivers/pcmcia/cs.c | 4 - drivers/pcmcia/cs_internal.h | 73 --------------------------------- include/pcmcia/ss.h | 94 ++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 97 insertions(+), 74 deletions(-)
-
Russell King authored
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-pcmcia
-
- 09 Jun, 2003 18 commits
-
-
Russell King authored
-
Russell King authored
-
Frank Cusack authored
When foo is unlinked, nfs_unlink() does a sillyrename, this puts the dentry on nfs_delete_queue, and (in the VFS) unhashes it from the dcache. This causes problems, since any later access to the silly-renamed new .nfs file will create a NEW dentry that aliases the one we originally created, but unhashed. This causes various confusion, especially if we want to try to delete it again later. So fix this by not unhash the dentry after silly-renaming. In 2.2, each fs was responsible for doing a d_delete(), in 2.4 and later it happens in the VFS layer and I think it was just an oversight that the 2.4 VFS doesn't consider sillyrename (considering the code and comments that are cruft). Also fixed up some comments while debugging this.
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Christoph Hellwig authored
-
Geert Uytterhoeven authored
-
Hideaki Yoshifuji authored
-
Hideaki Yoshifuji authored
-
Herbert Xu authored
-
Joe Thornber authored
-
Joe Thornber authored
-
Joe Thornber authored
[From Patrick Caulfield]
-
Joe Thornber authored
Pull dm_div_up() out of dm-table.c into dm.h
-
Joe Thornber authored
Some targets may perform io of their own volition, eg. a mirror performing recovery, a cache target pulling in different chunks. We cannot let them perform this io while the device is suspended. This patch adds 2 new methods to the target type, which instruct the target to suspend/resume itself. All targets start in the suspended state, so should expect an initial resume call. Simple targets do not need to implement these functions.
-
Joe Thornber authored
-
Joe Thornber authored
Replace __HIGH() and __LOW() with max() and min_not_zero().
-
Steven Cole authored
This removes the last sources of "non-ANSI parameter list" warnings for zlib_deflate.
-
Ville Nuorvala authored
-
- 08 Jun, 2003 16 commits
-
-
Jörn Engel authored
Reduce MAX_MEM_LEVEL to 8. This reduces zlib memory consumption by 128k (from ~400k to ~270k) at the theoretical cost of worse compression. No code currently in the kernel actually uses the better compression, so the practical cost is zero.
-
bk://are.twiddle.net/axp-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
Sam Ravnborg authored
-
James Bottomley authored
chr_dev_init() should be a subsys_initcall(), since it needs to initialize before any drivers that use the character device infrastructure.
-
http://linux-sam.bkbits.net/docbookLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Sam Ravnborg authored
into mars.ravnborg.org:/home/sam/src/linux/kernel/bk/docbook
-
Richard Henderson authored
into kanga.twiddle.net:/home/rth/work/linux/axp-2.5
-
Linus Torvalds authored
from the MAINTAINERS list. How they're HP, and maintained by Stephen Cameron.
-
Jörn Engel authored
More merging from zlib-1.1.4 force windowBits > 8 to avoid a bug in the encoder for a window size of 256 bytes. (A complete fix will be available in 1.1.5). James Carlson: The problem is that s->strstart gets set to a very large positive integer when wsize (local copy of s->w_size) is subtracted in deflate.c:fill_window(). This happens because MAX_DIST(s) resolves as a negative number when the window size is 8 -- MAX_DIST(s) is defined as s->w_size-MIN_LOOKAHEAD in deflate.h. MIN_LOOKAHEAD is MAX_MATCH+MIN_MATCH+1, and that is 258+3+1 or 262. Since a window size of 8 gives s->w_size 256, MAX_DIST(s) is 256-262 or -6. This results in read_buf() writing over memory outside of s->window, and a crash.
-
Jörn Engel authored
Don't think anyone actually bothers to check specific error codes, but it shouldn't hurt either.
-
Jörn Engel authored
This removes unnecessary NULL casting.
-