1. 09 11月, 2009 3 次提交
    • D
      pcmcia: use dynamic debug instead of custom infrastructure · d50dbec3
      Dominik Brodowski 提交于
      Use the generic "dynamic debug" infrastructure instead of
      CONIG_PCMCIA_DEBUG in the PCMCIA core (pcmcia.ko and pcmcia_core.ko). To
      enable debugging, enable CONFIG_DYNAMIC_DEBUG, mount debugfs and
      
      $ echo -n 'module pcmcia_core +p' > /sys/kernel/debug/dynamic_debug/control
      
      for the complete module "pcmcia_core", for example. For more detailled
      instructions, please see Documentation/dynamic-debug-howto.txt
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      d50dbec3
    • D
      pcmcia: remove pcmcia_get_{first,next}_tuple() · 18a7a19b
      Dominik Brodowski 提交于
      Remove the pcmcia_get_{first,next}_tuple() calls no longer needed by
      (current) pcmcia device drivers.
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      18a7a19b
    • D
      pcmcia: add new CIS access helpers · 91284224
      Dominik Brodowski 提交于
      As a replacement to pcmcia_get_{first,next}_tuple() and
      pcmcia_get_tuple_data(), three new -- and easier to use --
      functions are added:
      
      - pcmcia_get_tuple() to get the very first CIS entry of one
        type.
      
      - pcmcia_loop_tuple() to loop over all CIS entries of one type.
      
      - pcmcia_get_mac_from_cis() to read out the hardware MAC address
        from CISTPL_FUNCE.
      
      Only a handful of drivers need these functions anyway, as most
      CIS access is already handled by pcmcia_loop_config(), which
      now shares the same backed (pccard_loop_tuple()) with
      pcmcia_loop_tuple().
      
      A pcmcia_get_mac_from_cis() bug noted by Komuro
      <komurojun-mbn@nifty.com> has been fixed in this revision.
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      91284224
  2. 24 10月, 2009 2 次提交
  3. 21 10月, 2009 1 次提交
  4. 19 10月, 2009 2 次提交
  5. 17 10月, 2009 2 次提交
  6. 01 10月, 2009 1 次提交
  7. 29 9月, 2009 3 次提交
    • R
      PM / yenta: Fix cardbus suspend/resume regression · 0c570cde
      Rafael J. Wysocki 提交于
      Since 2.6.29 the PCI PM core have been restoring the standard
      configuration registers of PCI devices in the early phase of
      resume.  In particular, PCI devices without drivers have been handled
      this way since commit 355a72d7
      (PCI: Rework default handling of suspend and resume).  Unfortunately,
      this leads to post-resume problems with CardBus devices which cannot
      be accessed in the early phase of resume, because the sockets they
      are on have not been woken up yet at that point.
      
      To solve this problem, move the yenta socket resume to the early
      phase of resume and, analogously, move the suspend of it to the late
      phase of suspend.  Additionally, remove some unnecessary PCI code
      from the yenta socket's resume routine.
      
      Fixes http://bugzilla.kernel.org/show_bug.cgi?id=13092, which is a
      post-2.6.28 regression.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Reported-by: NFlorian <fs-kernelbugzilla@spline.de>
      Cc: stable@kernel.org
      0c570cde
    • R
      PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend() · 827b4649
      Rafael J. Wysocki 提交于
      pcmcia_socket_dev_suspend() doesn't use its second argument, so it
      may be dropped safely.
      
      This change is necessary for the subsequent yenta suspend/resume fix.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Cc: stable@kernel.org
      827b4649
    • R
      ARM: Fix SA1100 Assabet/Neponset PCMCIA section mismatch warnings · b29cf62c
      Russell King 提交于
      WARNING: drivers/pcmcia/sa1100_cs.o(.data+0x48): Section mismatch in reference from the variable sa11x0_pcmcia_hw_init to the function .init.text:pcmcia_assabet_init()
      The variable sa11x0_pcmcia_hw_init references
      the function __init pcmcia_assabet_init()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: drivers/pcmcia/sa1111_cs.o(.text+0x298): Section mismatch in reference from the function pcmcia_probe() to the function .init.text:pcmcia_neponset_init()
      The function pcmcia_probe() references
      the function __init pcmcia_neponset_init().
      This is often because pcmcia_probe lacks a __init
      annotation or the annotation of pcmcia_neponset_init is wrong.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      b29cf62c
  8. 22 9月, 2009 3 次提交
  9. 16 9月, 2009 6 次提交
  10. 10 9月, 2009 4 次提交
  11. 09 7月, 2009 1 次提交
  12. 03 7月, 2009 1 次提交
  13. 17 6月, 2009 1 次提交
  14. 16 6月, 2009 2 次提交
  15. 05 6月, 2009 1 次提交
  16. 24 4月, 2009 1 次提交
  17. 02 4月, 2009 1 次提交
  18. 28 3月, 2009 1 次提交
  19. 25 3月, 2009 3 次提交
  20. 16 3月, 2009 1 次提交