1. 27 8月, 2011 1 次提交
  2. 06 5月, 2011 1 次提交
  3. 29 9月, 2010 6 次提交
  4. 19 8月, 2010 1 次提交
    • J
      drivers/net/pcmcia: Use pr_<level> and netdev_<level> · 636b8116
      Joe Perches 提交于
      On Mon, 2010-08-09 at 17:34 +0200, Dominik Brodowski wrote:
      > look good from a PCMCIA point of view, therefore:
      > Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
      
      If PCMCIA is still being looked after, then here's
      another for you, maybe for 2.6.37.
      
      Use the more descriptive logging message styles.
      
      There are whitespace/indentation errors in the original
      sources that these changes do not modify, so checkpatch
      errors were cheerfully ignored.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      636b8116
  5. 17 8月, 2010 1 次提交
  6. 03 8月, 2010 4 次提交
    • D
      pcmcia: use struct resource for PCMCIA devices, part 2 · 0ca724d3
      Dominik Brodowski 提交于
      Use struct resource * also for iomem resources.
      
      CC: linux-mtd@lists.infradead.org
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: Jiri Kosina <jkosina@suse.cz>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      0ca724d3
    • D
      pcmcia: remove memreq_t · b5cb259e
      Dominik Brodowski 提交于
      Page already had to be set to 0; Offset can easily be passed as
      parameter to pcmcia_map_mem_page.
      
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      CC: linux-usb@vger.kernel.org
      CC: laforge@gnumonks.org
      CC: linux-mtd@lists.infradead.org
      CC: linux-bluetooth@vger.kernel.org
      CC: alsa-devel@alsa-project.org
      CC: linux-serial@vger.kernel.org
      CC: Michael Buesch <mb@bu3sch.de>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      b5cb259e
    • D
      pcmcia: do not use io_req_t when calling pcmcia_request_io() · 90abdc3b
      Dominik Brodowski 提交于
      Instead of io_req_t, drivers are now requested to fill out
      struct pcmcia_device *p_dev->resource[0,1] for up to two ioport
      ranges. After a call to pcmcia_request_io(), the ports found there
      are reserved, after calling pcmcia_request_configuration(), they may
      be used.
      
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      CC: linux-usb@vger.kernel.org
      CC: laforge@gnumonks.org
      CC: linux-mtd@lists.infradead.org
      CC: alsa-devel@alsa-project.org
      CC: linux-serial@vger.kernel.org
      CC: Michael Buesch <mb@bu3sch.de>
      Acked-by: Marcel Holtmann <marcel@holtmann.org> (for drivers/bluetooth/)
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      90abdc3b
    • D
      pcmcia: do not use io_req_t after call to pcmcia_request_io() · 9a017a91
      Dominik Brodowski 提交于
      After pcmcia_request_io(), do not make use of the values stored in
      io_req_t, but instead use those found in struct pcmcia_device->resource[].
      
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      CC: linux-usb@vger.kernel.org
      CC: laforge@gnumonks.org
      CC: linux-mtd@lists.infradead.org
      CC: alsa-devel@alsa-project.org
      CC: linux-serial@vger.kernel.org
      Acked-by: Marcel Holtmann <marcel@holtmann.org> (for drivers/bluetooth/)
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      9a017a91
  7. 31 7月, 2010 1 次提交
    • D
      pcmcia: remove cs_types.h · ac8b4228
      Dominik Brodowski 提交于
      Remove cs_types.h which is no longer needed: Most definitions aren't
      used at all, a few can be made away with, and two remaining definitions
      (typedefs, unfortunatley) may be moved to more specific places.
      
      CC: linux-ide@vger.kernel.org
      CC: linux-usb@vger.kernel.org
      CC: laforge@gnumonks.org
      CC: linux-mtd@lists.infradead.org
      CC: alsa-devel@alsa-project.org
      CC: linux-serial@vger.kernel.org
      Acked-by: Marcel Holtmann <marcel@holtmann.org> (for drivers/bluetooth/)
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      ac8b4228
  8. 14 5月, 2010 1 次提交
    • J
      drivers/net: Remove unnecessary returns from void function()s · a4b77097
      Joe Perches 提交于
      This patch removes from drivers/net/ all the unnecessary
      return; statements that precede the last closing brace of
      void functions.
      
      It does not remove the returns that are immediately
      preceded by a label as gcc doesn't like that.
      
      It also does not remove null void functions with return.
      
      Done via:
      $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
        xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
      
      with some cleanups by hand.
      
      Compile tested x86 allmodconfig only.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a4b77097
  9. 10 5月, 2010 2 次提交
    • D
      pcmcia: dev_node removal (drivers with unregister_netdev check) · c7c2fa07
      Dominik Brodowski 提交于
      As a third step, remove any usage of dev_node_t from drivers which
      only wrote to this typedef/struct, except to determine whether
      register_netdev() succeeded previously. However, the function calling
      unregister_netdev() was only ever called by the PCMCIA core if
      register_netdev() succeeded previously. The lonely exception was
      easily fixed.
      
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      c7c2fa07
    • D
      pcmcia: re-work pcmcia_request_irq() · eb14120f
      Dominik Brodowski 提交于
      Instead of the old pcmcia_request_irq() interface, drivers may now
      choose between:
      
      - calling request_irq/free_irq directly. Use the IRQ from *p_dev->irq.
      
      - use pcmcia_request_irq(p_dev, handler_t); the PCMCIA core will
        clean up automatically on calls to pcmcia_disable_device() or
        device ejection.
      
      - drivers still not capable of IRQF_SHARED (or not telling us so) may
        use the deprecated pcmcia_request_exclusive_irq() for the time
        being; they might receive a shared IRQ nonetheless.
      
      CC: linux-bluetooth@vger.kernel.org
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-serial@vger.kernel.org
      CC: alsa-devel@alsa-project.org
      CC: linux-usb@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      eb14120f
  10. 29 11月, 2009 5 次提交
  11. 09 11月, 2009 1 次提交
    • D
      pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (net) · dd0fab5b
      Dominik Brodowski 提交于
      Convert PCMCIA drivers to use the dynamic debug infrastructure, instead of
      requiring manual settings of PCMCIA_DEBUG. Only some rare debug checks are
      now hidden behind "#ifdef DEBUG" or "#if 0".
      
      Also, remove all usages of the CS_CHECK macro and replace them with proper
      Linux style calling and return value checking. The extra error reporting may
      be dropped, as the PCMCIA core already complains about any (non-driver-author)
      errors.
      
      CC: netdev@vger.kernel.org
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      dd0fab5b
  12. 09 7月, 2009 1 次提交
  13. 01 12月, 2008 1 次提交
  14. 23 8月, 2008 1 次提交
  15. 20 7月, 2007 1 次提交
  16. 10 5月, 2007 1 次提交
    • P
      Fix hang on IBM Token Ring PCMCIA card ejection · 5bebf82f
      Paul Walmsley 提交于
      Ejecting a PCMCIA IBM Token Ring card that has not had its dev->open()
      called will reliably trigger an uninitialized spinlock oops when
      spinlock debugging is enabled. The system then hangs, occasionally
      softlockup oopsing.  Apparently ibmtr.c:tok_interrupt() doesn't expect
      to be called before tok_open(), but tok_interrupt() gets called anyway
      when the card is ejected.  So, set an already-existing flag which
      causes tok_interrupt() to bail out early upon card ejection. Tested by
      inserting and removing the PCMCIA card several times.
      Signed-off-by: NPaul Walmsley <paul@booyaka.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      5bebf82f
  17. 15 3月, 2007 1 次提交
  18. 05 12月, 2006 1 次提交
  19. 14 9月, 2006 1 次提交
  20. 31 3月, 2006 7 次提交
  21. 06 1月, 2006 1 次提交
    • D
      [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback · f8cfa618
      Dominik Brodowski 提交于
      Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified
      probe() callback. As all in-kernel drivers are changed to this new
      callback, there will be no temporary backwards-compatibility. Inside a
      probe() function, each driver _must_ set struct pcmcia_device
      *p_dev->instance and instance->handle correctly.
      
      With these patches, the basic driver interface for 16-bit PCMCIA drivers
      now has the classic four callbacks known also from other buses:
      
              int (*probe)            (struct pcmcia_device *dev);
              void (*remove)          (struct pcmcia_device *dev);
      
              int (*suspend)          (struct pcmcia_device *dev);
              int (*resume)           (struct pcmcia_device *dev);
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      f8cfa618