Skip to content
  • Bjorn Helgaas's avatar
    PNP SMCf010 quirk: work around Toshiba Portege 4000 ACPI issues · 41a53114
    Bjorn Helgaas authored
    
    
    When we enable the SMCf010 IR device, the Toshiba Portege 4000 BIOS claims
    the device is working, but it really isn't configured correctly.  The BIOS
    *will* configure it, but only if we call _SRS after (1) reversing the order
    of the SIR and FIR I/O port regions and (2) changing the IRQ from
    active-high to active-low.
    
    This patch addresses the 2.6.22 regression:
        "no irda0 interface (2.6.21 was OK), smsc does not find chip"
    
    I tested this on a Portege 4000.  The smsc-ircc2 driver correctly detects
    the device, and "irattach irda0 -s && irdadump" shows transmitted and
    received packets.
    
    Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
    Cc: Andrey Borzenkov <arvidjaar@mail.ru>
    Cc: Samuel Ortiz <samuel@sortiz.org>
    Cc: "Linus Walleij (LD/EAB)" <linus.walleij@ericsson.com>
    Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
    Cc: Adam Belay <ambx1@neo.rr.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    41a53114