1. 18 Oct, 2004 21 commits
    • Dominik Brodowski's avatar
      [PCMCIA] 15-get_firstnext_region.diff · 0848d6f4
      Dominik Brodowski authored
      pcmcia_get_{first,next}_region are tricky: they're used
      only by ds.c, but to keep backwards compatibility proper
      wrappers are needed (for the moment). However, match_region()
      doesn't work without knowing about ds.c's handle, it seems...
      but wait:
      
          while (list != NULL) {
              if (!(handle->Attributes & INFO_MTD_CLIENT) ||
                  (strcmp(handle->dev_info, list->dev_info) == 0)) {
                  *match = list->info;
                  return CS_SUCCESS;
              }
              list = list->info.next;
          }
      
      as ds.c's handle doesn't have INFO_MTD_CLIENT, the if always
      succeeds -- allowing is to simplify it for ds.c. However, this
      means we need special functions for ds.c. It's not too large,
      fortunately.
      0848d6f4
    • Dominik Brodowski's avatar
      [PCMCIA] 14-access_configuration.diff · 92ceceb4
      Dominik Brodowski authored
      Add a wrapper around pcmcia_access_configuration_register, and use
      pccard_access_configuration_register in ds.c
      92ceceb4
    • Dominik Brodowski's avatar
      [PCMCIA] 13-get_status.diff · 69b21a60
      Dominik Brodowski authored
      Add a wrapper around pcmcia_get_status, and use pccard_get_status
      in ds.c
      69b21a60
    • Dominik Brodowski's avatar
      [PCMCIA] 12-reset_card.diff · 7bd760e6
      Dominik Brodowski authored
      pcmcia_reset_card doesn't need to know about the handle, but add a
      wrapper for backwards compatibility anyways.
      7bd760e6
    • Dominik Brodowski's avatar
      [PCMCIA] 11-configuration_info.diff · b2fac47f
      Dominik Brodowski authored
      Add a wrapper around pcmcia_get_configuration_info, and
      use pccard_get_configuration_info in ds.c
      b2fac47f
    • Dominik Brodowski's avatar
      [PCMCIA] 10-get_window.diff · 28cbfb34
      Dominik Brodowski authored
      Change calling conventions to pcmcia_get_window, and use this
      function directly in ds.c, but keep the existing wrappers
      pcmcia_get_{first,next}_window in pcmcia_compat.c
      28cbfb34
    • Dominik Brodowski's avatar
      [PCMCIA] 09-pcmcia_compat.diff · 8220c447
      Dominik Brodowski authored
      Move the compatibility pcmcia_* functions which take a "handle" as
      argument to a new file, pcmcia_compat.c, which is built into "ds"
      a.k.a. "pcmcia.ko".  This makes sense as only 16-bit PCMCIA drivers
      have a valid handle.
      8220c447
    • Dominik Brodowski's avatar
      [PCMCIA] 08-validate_cis.diff · 7ea33fc9
      Dominik Brodowski authored
      Add a wrapper around pcmcia_validate_cis, and use
      pccard_validate_cis in ds.c
      7ea33fc9
    • Dominik Brodowski's avatar
      [PCMCIA] 07-read_tuple.diff · 0eb4a605
      Dominik Brodowski authored
      Rename the "internal" read_tuple to pccard_read_tuple, and
      update it to better calling conventions.
      0eb4a605
    • Dominik Brodowski's avatar
      [PCMCIA] 06-parse_tuple.diff · ed5dce04
      Dominik Brodowski authored
      Add a wrapper around pcmcia_parse_tuple, and use pccard_parse_tuple
      in ds.c
      ed5dce04
    • Dominik Brodowski's avatar
      [PCMCIA] 05-get_tuple_data.diff · de385f7c
      Dominik Brodowski authored
      Add a wrapping around pcmcia_get_tuple_data, and use
      pccard_get_tuple_data wherever possible.
      de385f7c
    • Dominik Brodowski's avatar
      [PCMCIA] 04-get_firstnext_tuple.diff · 5c06a281
      Dominik Brodowski authored
      Add wrappings around pcmcia_get_{first,next}_tuple, and use the new
      pccard_get_first,next_tuple calls wherever possible.
      5c06a281
    • Dominik Brodowski's avatar
      [PCMCIA] 03-replace_cis.diff · 78a5403f
      Dominik Brodowski authored
      pcmcia_replace_cis doesn't need to know about the handle or a sub-
      function, as the cis can only be replaced as a whole. Also, remove
      bogus entries in cs_internal.h
      78a5403f
    • Dominik Brodowski's avatar
      [PCMCIA] 02-adjust_resource_info.diff · 961a0cda
      Dominik Brodowski authored
      pcmcia_adjust_resource_info is only called from ds.c and doesn't
      need to know about a valid handle.
      961a0cda
    • Dominik Brodowski's avatar
      [PCMCIA] 01-lookup_bus.diff · 43677d77
      Dominik Brodowski authored
      pcmcia_lookup_bus is only called from ds.c, and doesn't need to know
      about a handle -- just about the struct pcmcia_socket.
      43677d77
    • Dominik Brodowski's avatar
      [PCMCIA] 06-Kconfig_PCMCIA.diff · 238690e7
      Dominik Brodowski authored
      After noting three things, namely
      1.) CardBus cards work without ds a.k.a. pcmcia loaded,
      2.) ds a.k.a pcmcia cannot be built as module if pcmcia_core is
          built in, and
      3.) some commenting in drivers/pcmcia/Kconfig was obsolete
          [to use 32-bit cards, you don't need pcmcia-cs],
      I wrote this patch which introduces more config options for fine-
      grained tuning of what to built as what and what not to built. In
      future, 16-bit-specific code in pcmcia_core may be surrounded by
      CONFIG_PCMCIA. Also, I'll try to remove the dependency of
      yenta_socket on cardbus.
      238690e7
    • Dominik Brodowski's avatar
      [PCMCICA] 05-obsolete_parts_of_cs.diff · c3a7b9b2
      Dominik Brodowski authored
      Some parts of cs.c are not used by any PCMCIA socket or card driver
      or the PCMCIA subsystem itself. Mark them CONFIG_PCMCIA_OBSOLETE.
      Also, define pcmcia_get_window static as it was supposed to be.
      c3a7b9b2
    • Dominik Brodowski's avatar
      [PCMCIA] 04-obsolete_kconfig.diff · 7a1555b1
      Dominik Brodowski authored
      Add a new CONFIG_PCMCIA_OBSOLETE option.
      7a1555b1
    • Dominik Brodowski's avatar
      [PCMCIA] 03-remove_ftl_memory.diff · 8110bbd0
      Dominik Brodowski authored
      Remove both include/pcmcia/ftl.h and include/pcmcia/memory.h as they
      are unused.
      8110bbd0
    • Dominik Brodowski's avatar
      [PCMCIA] 02-move_bulkmem.diff · c8b3c87d
      Dominik Brodowski authored
      The rest of drivers/pcmcia/bulkmem.c is only used by code
      relevant for 16-bit PCMCIA devices. So, link it with ds instead
      of with cs. The newly created module pcmcia.ko contains a
      MODULE_ALIAS() for the name "ds" so that backwards compatibility
      is ensured.
      c8b3c87d
    • Dominik Brodowski's avatar
      [PCMCIA] 01-unused_bulkmem_code.diff · 46535956
      Dominik Brodowski authored
      Most of drivers/pcmcia/bulkmem.c is unused by the Linux kernel
      PCMCIA subsystem and/or in-kernel PCMCIA device drivers. Remove
      this unused code as well as references to it.
      46535956
  2. 16 Oct, 2004 6 commits
  3. 15 Oct, 2004 3 commits
  4. 14 Oct, 2004 2 commits
    • Linus Torvalds's avatar
      Take the whole PCI bus range into account when scanning PCI bridges. · 8b5915b0
      Linus Torvalds authored
      A bridge that has been set up by firmware to cover multiple PCI
      buses but doesn't actually have anything connected behind some of
      them caused us to use the incorrect maxmimum bus number span when
      scanning the bridge chip.
      
      Problem reported by Tim Saunders, with Russell King suggesting
      the fix.
      8b5915b0
    • Linus Torvalds's avatar
      Fix threaded user page write memory ordering · 538ce05c
      Linus Torvalds authored
      Make sure we order the writes to a newly created page
      with the page table update that potentially exposes the
      page to another CPU.
      
      This is a no-op on any architecture where getting the
      page table spinlock will already do the ordering (notably
      x86), but other architectures can care.
      538ce05c
  5. 13 Oct, 2004 8 commits