lkml.org 
[lkml]   [2010]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    SubjectPATCH : linux-2.6.35.4 drivers pcmcia cs.c
    From
    summary:enable cardbus cards in IBM ThinkPad 770Z

    Signed-off-by:G. Arias R.<papaguillee18@gmail.com>
    Date:Sun Oct 31 03:31:28 GMT-8 2010
    ---------------------------------------------------
    --- /src/linux-2.6.35.4/drivers/pcmcia/cs.c.orig 2010-10-29
    09:51:04.000000000 +0800
    +++ /src/linux-2.6.35.4/drivers/pcmcia/cs.c 2010-10-01
    20:54:04.000000000 +0800
    @@ -396,7 +396,7 @@ static int socket_setup(struct pcmcia_so
    }

    if (status & SS_CARDBUS) {
    - if (!(skt->features & SS_CAP_CARDBUS)) {
    + if (!(skt->features || SS_CAP_CARDBUS)) {
    dev_printk(KERN_ERR, &skt->dev,
    "cardbus cards are not supported.\n");
    return -EINVAL;

    \
     
     \ /
      Last update: 2010-10-31 09:19    [W:0.020 / U:150.632 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site