24 Jun, 2008

2 commits

  • IN_CARD_SERVICES was #define'd but not used, so let's remove it.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Dominik Brodowski

    Adrian Bunk
     
  • The code in include/pcmcia/bulkmem.h was only kept for compatibility reasons.
    Therefore, move the remaining region_info_t definition to ds.h

    [linux@dominikbrodowski.net: do not modify the IOCTL, move definition to
    ds.h, and update changelog]
    Signed-off-by: Magnus Damm
    Signed-off-by: Dominik Brodowski

    Magnus Damm
     

01 May, 2008

1 commit

  • cb_alloc() uses a function (pci_scan_slot) that will be annotated __devinit.

    Annotate cb_alloc() with __ref to tell modpost to ignore this reference.

    Signed-off-by: Sam Ravnborg
    Cc: Dominik Brodowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sam Ravnborg
     

06 Feb, 2008

1 commit

  • pci_get_slot does a pci_dev_get, so pci_dev_put needs to be called in an
    error case.

    An extract of the semantic match used to find the problem is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @@
    type find1.T,T1,T2;
    identifier find1.E;
    statement find1.S;
    expression x1,x2,x3;
    expression find1.test;
    int ret != 0;
    @@

    T E;
    ...
    (
    * E = pci_get_slot(...);
    if (E == NULL) S
    |
    * if ((E = pci_get_slot(...)) == NULL)
    S
    )
    ... when != pci_dev_put(...,(T1)E,...)
    when != if (E != NULL) { ... pci_dev_put(...,(T1)E,...); ...}
    when != x1 = (T1)E
    when != E = x3;
    when any
    if (test) {
    ... when != pci_dev_put(...,(T2)E,...)
    when != if (E != NULL) { ... pci_dev_put(...,(T2)E,...); ...}
    when != x2 = (T2)E
    (
    * return;
    |
    * return ret;
    )
    }
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Julia Lawall
     

18 Feb, 2007

1 commit


01 Oct, 2006

1 commit


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
     

08 Jul, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds