Skip to content
Snippets Groups Projects
  1. Sep 29, 2010
    • Dominik Brodowski's avatar
      pcmcia: use autoconfiguration feature for ioports and iomem · 00990e7c
      Dominik Brodowski authored
      
      When CONF_AUTO_SET_IO or CONF_AUTO_SET_IOMEM are set, the corresponding
      fields in struct pcmcia_device *p_dev->resource[0,1,2] are set
      accordinly. Drivers wishing to override certain settings may do so in
      the callback function, but they no longer need to parse the CIS entries
      stored in cistpl_cftable_entry_t themselves.
      
      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: Jiri Kosina <jkosina@suse.cz>
      CC: linux-scsi@vger.kernel.org
      Tested-by: default avatarWolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      00990e7c
    • Dominik Brodowski's avatar
      pcmcia: convert pcmcia_request_configuration to pcmcia_enable_device · 1ac71e5a
      Dominik Brodowski authored
      
      pcmcia_enable_device() now replaces pcmcia_request_configuration().
      Instead of config_req_t, all necessary flags are either passed as
      a parameter to pcmcia_enable_device(), or (in rare circumstances)
      set in struct pcmcia_device -> flags.
      
      With the last remaining user of include/pcmcia/cs.h gone, remove
      all references.
      
      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: Jiri Kosina <jkosina@suse.cz>
      CC: linux-scsi@vger.kernel.org
      Acked-by: Gustavo F. Padovan <padovan@profusion.mobi> (for drivers/bluetooth)
      Tested-by: default avatarWolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      1ac71e5a
    • Dominik Brodowski's avatar
      pcmcia: do not use win_req_t when calling pcmcia_request_window() · cdb13808
      Dominik Brodowski authored
      
      Instead of win_req_t, drivers are now requested to fill out
      struct pcmcia_device *p_dev->resource[2,3,4,5] for up to four iomem
      ranges. After a call to pcmcia_request_window(), the windows found there
      are reserved and may be used until pcmcia_release_window() is called.
      
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-mtd@lists.infradead.org
      CC: Jiri Kosina <jkosina@suse.cz>
      CC: linux-scsi@vger.kernel.org
      Tested-by: default avatarWolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      cdb13808
  2. Aug 03, 2010
    • Dominik Brodowski's avatar
      pcmcia: do not use io_req_t when calling pcmcia_request_io() · 90abdc3b
      Dominik Brodowski authored
      
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      90abdc3b
  3. Jul 30, 2010
    • Dominik Brodowski's avatar
      pcmcia: remove cs_types.h · ac8b4228
      Dominik Brodowski authored
      
      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: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      ac8b4228
  4. May 10, 2010
    • Dominik Brodowski's avatar
      pcmcia: dev_node removal (core) · b9300aa7
      Dominik Brodowski authored
      
      Remove the dev_node declaration. We now only pass the device name
      to the deprecated userspace tools.
      
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      b9300aa7
    • Dominik Brodowski's avatar
      pcmcia: re-work pcmcia_request_irq() · eb14120f
      Dominik Brodowski authored
      
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      eb14120f
  5. Feb 17, 2010
  6. Nov 09, 2009
  7. Nov 08, 2009
    • Dominik Brodowski's avatar
      pcmcia: add new CIS access helpers · 91284224
      Dominik Brodowski authored
      
      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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      91284224
  8. Sep 23, 2009
  9. Oct 30, 2008
  10. Aug 22, 2008
  11. Aug 12, 2008
  12. Feb 05, 2008
  13. May 07, 2007
    • Bernhard Walle's avatar
      add new_id to PCMCIA drivers · 6179b556
      Bernhard Walle authored
      
      PCI drivers have the new_id file in sysfs which allows new IDs to be added
      at runtime.  The advantage is to avoid re-compilation of a driver that
      works for a new device, but it's ID table doesn't contain the new device.
      This mechanism is only meant for testing, after the driver has been tested
      successfully, the ID should be added in source code so that new revisions
      of the kernel automatically detect the device.
      
      The implementation follows the PCI implementation. The interface is documented
      in Documentation/pcmcia/driver.txt. Computations should be done in userspace,
      so the sysfs string contains the raw structure members for matching.
      
      Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6179b556
  14. Jun 30, 2006
  15. Mar 31, 2006
  16. Jan 05, 2006
  17. Jul 28, 2005
  18. Jul 12, 2005
  19. Jun 30, 2005
  20. Jun 27, 2005
Loading