1. 09 11月, 2009 2 次提交
  2. 19 10月, 2009 2 次提交
  3. 16 9月, 2009 1 次提交
  4. 16 6月, 2009 2 次提交
  5. 02 11月, 2008 2 次提交
  6. 22 9月, 2008 1 次提交
    • A
      pcmcia: Fix broken abuse of dev->driver_data · cec5eb7b
      Alan Cox 提交于
      PCMCIA abuses dev->private_data in the probe methods. Unfortunately it
      continues to abuse it after calling drv->probe() which leads to crashes and
      other nasties (such as bogus probes of multifunction devices) giving errors like
      
      pcmcia: registering new device pcmcia0.1
      kernel: 0.1: GetNextTuple: No more items
      
      Extract the passed data before calling the driver probe function that way
      we don't blow up when the driver reuses dev->private_data as its right.
      
      As its close to the final release just move the hack so it works out,
      hopefully someone will be sufficiently embarrassed to produce a nice rework
      for 2.6.28.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cec5eb7b
  7. 26 8月, 2008 1 次提交
  8. 23 8月, 2008 16 次提交
  9. 03 8月, 2008 1 次提交
  10. 24 6月, 2008 3 次提交
  11. 01 5月, 2008 1 次提交
    • S
      pcmcia: silence section mismatch warnings from class_interface variables · ed49f5d0
      Sam Ravnborg 提交于
      Silence the following warnings:
      WARNING: drivers/pcmcia/built-in.o(.data+0x6e8): Section mismatch in reference from the variable pcmcia_bus_interface to the function .devinit.text:pcmcia_bus_add_socket()
      WARNING: drivers/pcmcia/built-in.o(.data+0xa88): Section mismatch in reference from the variable pccard_rsrc_interface to the function .devinit.text:pccard_sysfs_add_rsrc()
      WARNING: drivers/pcmcia/built-in.o(.data+0xa90): Section mismatch in reference from the variable pccard_rsrc_interface to the function .devexit.text:pccard_sysfs_remove_rsrc()
      
      The variables of type class_interface contains references
      to __devinit and __devexit functions which is OK.
      Silence warnings by annotating the variables with __refdata.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ed49f5d0
  12. 06 2月, 2008 2 次提交
  13. 25 1月, 2008 1 次提交
  14. 11 12月, 2007 1 次提交
  15. 17 10月, 2007 1 次提交
  16. 13 10月, 2007 1 次提交
    • K
      Driver core: change add_uevent_var to use a struct · 7eff2e7a
      Kay Sievers 提交于
      This changes the uevent buffer functions to use a struct instead of a
      long list of parameters. It does no longer require the caller to do the
      proper buffer termination and size accounting, which is currently wrong
      in some places. It fixes a known bug where parts of the uevent
      environment are overwritten because of wrong index calculations.
      
      Many thanks to Mathieu Desnoyers for finding bugs and improving the
      error handling.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      7eff2e7a
  17. 19 7月, 2007 1 次提交
  18. 08 5月, 2007 1 次提交
    • B
      add new_id to PCMCIA drivers · 6179b556
      Bernhard Walle 提交于
      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: NBernhard Walle <bwalle@suse.de>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6179b556