1. 23 Apr, 2003 5 commits
    • Russell King's avatar
      [PCMCIA] Make cb_release_cis_mem() local to cardbus.c · 41c5d533
      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
      41c5d533
    • Russell King's avatar
      [PCMCIA] Don't cache CIS bytes found to be invalid. · 4de24fcf
      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.
      4de24fcf
    • Pavel Roskin's avatar
      [PCMCIA] Fix oops in validate_mem when CONFIG_PCMCIA_PROBE=n · 568c3355
      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.
      568c3355
    • Christoph Hellwig's avatar
      [PCMCIA] remove unused files · 56d6223f
      Christoph Hellwig authored
      From Christoph Hellwig
      
      There's no need to keep the stubs around.
      56d6223f
    • Pavel Roskin's avatar
      [PCMCIA] Fix compilation of cardmgr · 561bd7b7
      Pavel Roskin authored
      Patch from Pavel Roskin
      
      ds.h should not be including linux/device.h when compiling userspace
      code.
      561bd7b7
  2. 18 Apr, 2003 17 commits
  3. 17 Apr, 2003 7 commits
  4. 18 Apr, 2003 1 commit
  5. 17 Apr, 2003 10 commits
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.5-rmk · e9ef38e1
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e9ef38e1
    • Russell King's avatar
      [ARM] Fix Kconfig breakage in arch/arm/mach-iop3xx/Kconfig · b9225469
      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.
      b9225469
    • Eli Carter's avatar
      [ARM PATCH] 1506/1: Add iq80321 MTD mapping · 3d55cfd4
      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(-)
      #
      3d55cfd4
    • Eli Carter's avatar
      [ARM PATCH] 1503/1: Adds basic support for the iq80321 board · f270bc9e
      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(-)
      f270bc9e
    • Eli Carter's avatar
      [ARM PATCH] 1502/1: rename IOP310 config vars to IOP3XX · 22f50b5a
      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(-)
      #
      22f50b5a
    • Eli Carter's avatar
      [ARM PATCH] 1501/1: fix a path name in comment · adabea61
      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
      adabea61
    • Linus Torvalds's avatar
    • Alan Cox's avatar
      [PATCH] update intermezzo contacts · 8098016d
      Alan Cox authored
      8098016d
    • Alan Cox's avatar
      [PATCH] first cut at 3c505 clean up · 198605b0
      Alan Cox authored
      198605b0
    • Alan Cox's avatar
      [PATCH] input typo fixes · 065d10f4
      Alan Cox authored
      065d10f4