17 Oct, 2007

1 commit


09 Jul, 2007

1 commit


08 May, 2007

1 commit

  • 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: Bernhard Walle
    Cc: Dominik Brodowski
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bernhard Walle
     

17 Feb, 2007

1 commit


08 Feb, 2007

1 commit


05 Dec, 2006

1 commit

  • s->functions needs to be initialized earlier, for the "let's see
    how high it increases" approach means that pcmcia_request_irq()
    (which makes use of this value) is confused, and might request
    an exclusive IRQ first even though it is not supposed to.

    Also, a CIS override autoloaded using the firmware loader may
    allow for the use of more or less functions in a multifunction
    card. Therefore, we may need to schedule a call to add this
    second function later on, or simply remove the other function
    (it's always the first -valid- function which reaches this
    codepath).

    Many thanks to Fabrice Bellet for debugging and testing patches.

    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

26 Apr, 2006

1 commit


01 Apr, 2006

1 commit


31 Mar, 2006

20 commits


01 Mar, 2006

1 commit


06 Jan, 2006

7 commits


31 Oct, 2005

1 commit

  • I recently picked up my older work to remove unnecessary #includes of
    sched.h, starting from a patch by Dave Jones to not include sched.h
    from module.h. This reduces the number of indirect includes of sched.h
    by ~300. Another ~400 pointless direct includes can be removed after
    this disentangling (patch to follow later).
    However, quite a few indirect includes need to be fixed up for this.

    In order to feed the patches through -mm with as little disturbance as
    possible, I've split out the fixes I accumulated up to now (complete for
    i386 and x86_64, more archs to follow later) and post them before the real
    patch. This way this large part of the patch is kept simple with only
    adding #includes, and all hunks are independent of each other. So if any
    hunk rejects or gets in the way of other patches, just drop it. My scripts
    will pick it up again in the next round.

    Signed-off-by: Tim Schmielau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

26 Sep, 2005

1 commit

  • Echo Audio cardbus products are known to be incompatible with EnE bridges.
    in order to maybe solve the problem a EnE specific test bit has to be set,
    another cleared...but other setups have a good chance to break when just
    forcing the bits. so do the whole thingy automatically.

    The patch adds a hook in cb_alloc() that allows special tuning for the
    different chipsets. for ene just match the Echo products and set/clear the
    test bits, defaults to do the same thing as w/o the patch to not break
    working setups.

    Signed-off-by: Daniel Ritz
    Cc: Linus Torvalds
    Signed-off-by: Andrew Morton
    Signed-off-by: Dominik Brodowski

    Daniel Ritz
     

10 Sep, 2005

1 commit

  • Add a devname parameter to the pcmcia_device structure, fills it with
    "pcmcia" in pcmcia_device_add, and passes it to request_irq in
    pcmcia_request_irq.

    Signed-off-by: Brice Goglin
    Signed-off-by: Dominik Brodowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Brice Goglin
     

13 Jul, 2005

1 commit