• Linus Walleij's avatar
    [IRDA]: smcinit merged into smsc-ircc driver · c1e14a6e
    Linus Walleij authored
    This patch integrates the smcinit code into the smsc-ircc driver.
    Some laptops have their smsc-ircc chip not properly configured by the
    BIOS and needs some preconfiguration. Currently, this can be done from
    userspace with smcinit, a utility that comes with the irda-utils
    package. It messes with ioports and PCI settings, from userspace.  Now
    with this patch, if we happen to be on one of the known to be faulty
    laptops, we preconfigure the chip from the driver.
    
    Patch from Linus Walleij <triad@df.lth.se>
    Signed-off-by: default avatarSamuel Ortiz <samuel.ortiz@nokia.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c1e14a6e
smsc-ircc2.c 70.9 KB