[IRDA]: smcinit merged into smsc-ircc driver
authorLinus Walleij <triad@df.lth.se>
Thu, 6 Apr 2006 05:33:59 +0000 (22:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 10 Apr 2006 05:25:30 +0000 (22:25 -0700)
commitc1e14a6ea2ae34993f431d2eb9a0f228ac3574eb
treea49cbfdc16836115112e64d69780da7a7c2f2091
parent45af08be6d120690d379cb8421ebaf9d9f86ba52
[IRDA]: smcinit merged into smsc-ircc driver

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: Samuel Ortiz <samuel.ortiz@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/smsc-ircc2.c