diff options
author | Matthew Garrett <mjg59@srcf.ucam.org> | 2008-07-30 20:00:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-30 20:19:35 -0400 |
commit | 1fa98174ba980b2826edd1e4632a17916dfdb4fa (patch) | |
tree | d825e786e5b1f6e5de7dd9312c7523d37cdf06c4 /drivers/net/irda/nsc-ircc.h | |
parent | 5aa10cad69d282acfaf89d3c16ee07f9b279dbd2 (diff) |
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>
Diffstat (limited to 'drivers/net/irda/nsc-ircc.h')
-rw-r--r-- | drivers/net/irda/nsc-ircc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/irda/nsc-ircc.h b/drivers/net/irda/nsc-ircc.h index 29398a4f73fd..71cd3c5a0762 100644 --- a/drivers/net/irda/nsc-ircc.h +++ b/drivers/net/irda/nsc-ircc.h | |||
@@ -35,6 +35,9 @@ | |||
35 | #include <linux/types.h> | 35 | #include <linux/types.h> |
36 | #include <asm/io.h> | 36 | #include <asm/io.h> |
37 | 37 | ||
38 | /* Features for chips (set in driver_data) */ | ||
39 | #define NSC_FORCE_DONGLE_TYPE9 0x00000001 | ||
40 | |||
38 | /* DMA modes needed */ | 41 | /* DMA modes needed */ |
39 | #define DMA_TX_MODE 0x08 /* Mem to I/O, ++, demand. */ | 42 | #define DMA_TX_MODE 0x08 /* Mem to I/O, ++, demand. */ |
40 | #define DMA_RX_MODE 0x04 /* I/O to mem, ++, demand. */ | 43 | #define DMA_RX_MODE 0x04 /* I/O to mem, ++, demand. */ |