nsc-ircc: default to dongle type 9 on IBM hardware
authorMatthew Garrett <mjg59@srcf.ucam.org>
Thu, 31 Jul 2008 00:00:38 +0000 (17:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2008 00:19:35 +0000 (17:19 -0700)
commit1fa98174ba980b2826edd1e4632a17916dfdb4fa
treed825e786e5b1f6e5de7dd9312c7523d37cdf06c4
parent5aa10cad69d282acfaf89d3c16ee07f9b279dbd2
nsc-ircc: default to dongle type 9 on IBM hardware

This is necessary to set the dongle type on the nsc driver in order to get
it to work correctly.  Thinkpads all appear to use dongle type 9.  This
patch defaults nsc devices with an IBM PnP descriptor to use type 9.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Ben Collins <ben.collins@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/net/irda/nsc-ircc.c
drivers/net/irda/nsc-ircc.h