- 23 Apr, 2003 5 commits
-
-
Russell King authored
The cardbus CIS parsing code does not use the PCMCIA resource subsystem, so there isn't any point in freeing its memory when we remove PCMCIA memory resources. We also free CIS resources immediately prior to calling cb_free(). We might as well move the function call into cb_free(), thereby making all references to cb_release_cis_mem() local to cardbus.c
-
Russell King authored
Several PCMCIA cards I have here do not work correctly over a suspend/resume cycle; the PCMCIA code believes that the card has been changed in the slot, and therefore performs a remove/insert cycle. This seems to be because the card returns more or less random data when reading memory space, leading to the CIS cache mismatching the card data. This in turn is caused because we try to read CIS data from both the attribute and memory spaces, and we add the result to the CIS cache whether or not the returned data was valid. We therefore convert the CIS cache to use a linked list, and provide a way to remove cached data from that list. We also replace the "s->cis_used=0;" construct with a function "destroy_cis_cache(s)" which clearly describes what we're doing.
-
Pavel Roskin authored
If I compile a recent 2.5.x kernel without CONFIG_ISA defined, I get an oops in validate_mem(). Stack trace contains 0x6b6b6b6 - a clear sign that freed memory is being accessed. It's the second validate_mem() in drivers/pcmcia/rsrc_mgr.c - the one used when CONFIG_PCMCIA_PROBE is not defined. It turns out the memory is freed in do_mem_probe() when it's called from validate_mem(). The solution is to use the same trick as in the first validate_mem(). This problem is quite serious and it's not specific to the plx9052 driver. I see it with yenta_socket as well.
-
Christoph Hellwig authored
From Christoph Hellwig There's no need to keep the stubs around.
-
Pavel Roskin authored
Patch from Pavel Roskin ds.h should not be including linux/device.h when compiling userspace code.
-
- 18 Apr, 2003 17 commits
-
-
Andries E. Brouwer authored
(i) Replace in struct loop_info the dev_t field by __kernel_old_dev_t, where this type is defined in <asm/posix_types.h>, so that problems with a differently sized dev_t in userspace are avoided. (ii) Introduce a new loop_info64, with __u64 device, inode and offset fields.
-
Romain Liévin authored
This replaces checkboxes by radiobuttons whereever necessary (menu choices). It partially fixes the #540 bug report.
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Stephen Hemminger authored
Second try at the bridge driver module handling cleanup... 1) Eliminate keeping a seperate bridge_list and use a bit on the priv_flags structure. This is equivalent to how the VLAN code works. Makes code cleaner and correctly handles cases like creating a bridge with the same name as an existing ether device etc. 2) Don't do own module ref counting that is inhernently racy. Instead set owner field and cleanup debris on unload. 3) Do last state cleanup in destructor 4) Change of bridge state (dev_open/stop) should use write_lock 5) Make sure timer is not running when cleared. 6) Use "const char *" where possible
-
Stephen Hemminger authored
-
David S. Miller authored
-
Andries E. Brouwer authored
-
Steven Whitehouse authored
o As requested, macros in dn_fib.h changed to decnet specific names o Two bugs fixed (only in 2.5 decnet stack) relating to bind and connection states. o Numerous style changes: using C99 initialisers and inline rather than __inline__ o Use struct flowi as routing key (for forthcoming flow cache) o Add metrics to routing table o Many routing table bug fixes o New wait code to improve efficiency o We use real device MTUs now rather than saying "hmm... looks like ethernet must be 1500" as we used to (still one or two places to fix, but its mostly correct in this patch) o Tidy up in af_decnet.c:dn_sendmsg() in preparation for zerocopy o Updates to rtnetlink code to return more information o Removed ioctl() for decnet fib. It never did anything and rtnetlink is a far better interface anyway. o Converted /proc/decnet_neigh to seq_file (other /proc files to follow) o DECnet route cache now uses RCU like the ipv4 route cache o Misc bug fixes wherever I found them o SO_BINDTODEVICE works for outgoing connections
-
Stephen Hemminger authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Christoph Hellwig authored
There's just one caller in fs/devfs/base.c left.
-
Christoph Hellwig authored
Always pass around the pathnames for the devfs entries / directories instead of the devfs_handle_ts. Cleanes up the code massivly.
-
Christoph Hellwig authored
Pass in the path directly instead of getting it from a devfs_handle_t.
-
Christoph Hellwig authored
Store the path of it's devfs directory in struct scsi_device. Use it in the devfs_register calls instead of the devfs_handle_t which will go away soon.
-
Christoph Hellwig authored
Store the path of it's devfs directory in ide_drive_t. Use it in the devfs_register calls instead of the devfs_handle_t which will go away soon.
-
Christoph Hellwig authored
Make sure the first argument to devfs_register is zero.
-
Christoph Hellwig authored
As several people found out while I was asleep I sent you a bogus patch version and devfs didn't compile in your tree since then. Fix it.
-
- 17 Apr, 2003 7 commits
-
-
Andrew Morton authored
Supporting PAGE_CACHE_SIZE != PAGE_SIZE is a "won't fix" for 2.6. (Bill Irwin)
-
Linus Torvalds authored
didn't work.
-
Matt Porter authored
This allows the SCSI subsystem to build on systems where CONFIG_GENERIC_ISA_DMA is not set.
-
Jeff Garzik authored
into redhat.com:/garz/repo/misc-2.5
-
Jeff Garzik authored
-
David S. Miller authored
-
bk://bk.arm.linux.org.uk/linux-2.5-pcmciaLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 18 Apr, 2003 1 commit
-
-
Russell King authored
Only call pci_remove_behind_bridge() if we have a PCI-based bridge controller.
-
- 17 Apr, 2003 10 commits
-
-
bk://bk.arm.linux.org.uk/linux-2.5-rmkLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Russell King authored
When a "depends" statement against all configuration options of a choice, which causes all options of that choice to be disabled, it sends Kconfig into an infinite loop. Move the "depends" clause to the choice statement instead.
-
Eli Carter authored
Patch from Eli Carter # Thu Apr 17 14:05:58 CDT 2003 ejc@rnd-linux-c84 # iq80321-mtd # # Add the MTD mapping for the flash chip on the iq80321 board. # The drivers/mtd/maps/iq80321.c file comes from 2.4.19-rmk4-ds2, and is # essentially a copy of the iq80310.c file in the same directory. # This version used C99 initializers # # Diff'ed against 2.5.65-rmk1+1472-4+1502-3 # Applies cleanly to linux-2.5.67-rmk1+1502-3 # # arch/arm/def-configs/iq80321 | 61 ++++++++++----- # drivers/mtd/maps/Kconfig | 8 ++ # drivers/mtd/maps/Makefile | 1 # drivers/mtd/maps/iq80321.c | 169 +++++++++++++++++++++++++++++++++++++++++++ # 4 files changed, 218 insertions(+), 21 deletions(-) #
-
Eli Carter authored
Patch from Eli Carter # Tue Apr 15 16:07:34 CDT 2003 ejc@rnd-linux-c84 # add-iq80321 # # Adds basic support for the iq80321 board. # # Diff'ed against 2.5.65-rmk1+1472-4+1502 # Applies to 2.5.67-rmk1+1502 with offsets # # arch/arm/boot/Makefile | 1 # arch/arm/boot/compressed/head-xscale.S | 6 # arch/arm/def-configs/iq80321 | 676 ++++++++++++++++++++++++++++++ # arch/arm/kernel/debug.S | 10 # arch/arm/kernel/entry-armv.S | 22 # arch/arm/mach-iop3xx/Kconfig | 12 # arch/arm/mach-iop3xx/Makefile | 16 # arch/arm/mach-iop3xx/arch.c | 26 + # arch/arm/mach-iop3xx/iop321-irq.c | 95 ++++ # arch/arm/mach-iop3xx/iop321-pci.c | 257 +++++++++++ # arch/arm/mach-iop3xx/iop321-time.c | 92 ++++ # arch/arm/mach-iop3xx/iq80321-pci.c | 98 ++++ # arch/arm/mach-iop3xx/mm-321.c | 64 ++ # arch/arm/mm/proc-xscale.S | 19 # include/asm-arm/arch-iop3xx/hardware.h | 17 # include/asm-arm/arch-iop3xx/iop321-irqs.h | 83 +++ # include/asm-arm/arch-iop3xx/iop321.h | 143 ++++++ # include/asm-arm/arch-iop3xx/iq80321.h | 17 # include/asm-arm/arch-iop3xx/irqs.h | 67 -- # include/asm-arm/arch-iop3xx/memory.h | 11 # include/asm-arm/arch-iop3xx/serial.h | 11 # include/asm-arm/arch-iop3xx/timex.h | 6 # include/asm-arm/arch-iop3xx/uncompress.h | 7 # include/asm-arm/mach/pci.h | 4 # 24 files changed, 1691 insertions(+), 69 deletions(-)
-
Eli Carter authored
Patch from Eli Carter # Tue Apr 15 14:41:15 CDT 2003 ejc@rnd-linux-c84 # config-rename # # This patch renames the IOP310 config variables to IOP3XX in preparation for # IOP321 support. # # Diff'ed against 2.5.65-rmk1+1472-4 # Applies to 2.5.67-rmk1 with an offset. # # arch/arm/Kconfig | 14 +++++----- # arch/arm/Makefile | 2 - # arch/arm/def-configs/iq80310 | 15 +++++----- # arch/arm/kernel/debug.S | 2 - # arch/arm/mach-iop3xx/Kconfig | 49 ++++++++++++++++++++++------------- # arch/arm/mach-iop3xx/Makefile | 8 ++--- # include/asm-arm/arch-iop3xx/memory.h | 2 - # include/asm-arm/arch-iop3xx/timex.h | 2 - # 8 files changed, 54 insertions(+), 40 deletions(-) #
-
Eli Carter authored
Patch from Eli Carter Fixes the filename in the comment in include/asm-arm/arch/iop3xx/timex.h Applies cleanly to 2.5.67-rmk1
-
Linus Torvalds authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-