IRDA: cnt is off by 1
[safe/jmp/linux-2.6] / drivers / net / irda / Kconfig
index 7c8ccc0..e631755 100644 (file)
@@ -141,146 +141,54 @@ config ACT200L_DONGLE
          To activate support for ACTiSYS IR-200L dongle you will have to
          start irattach like this: "irattach -d act200l".
 
-comment "Old SIR device drivers"
-
-config IRPORT_SIR
-       tristate "IrPORT (IrDA serial driver)"
-       depends on IRDA && BROKEN_ON_SMP
-       ---help---
-         Say Y here if you want to build support for the IrPORT IrDA device
-         driver.  To compile it as a module, choose M here: the module will be
-         called irport. IrPORT can be used instead of IrTTY and sometimes
-         this can be better.  One example is if your IrDA port does not
-         have echo-canceling, which will work OK with IrPORT since this
-         driver is working in half-duplex mode only.  You don't need to use
-         irattach with IrPORT, but you just insert it the same way as FIR
-         drivers (insmod irport io=0x3e8 irq=11).  Notice that IrPORT is a
-         SIR device driver which means that speed is limited to 115200 bps.
-
-         If unsure, say Y.
-
-comment "Old Serial dongle support"
-
-config DONGLE_OLD
-       bool "Old Serial dongle support"
-       depends on IRPORT_SIR && BROKEN_ON_SMP
+config KINGSUN_DONGLE
+       tristate "KingSun/DonShine DS-620 IrDA-USB dongle"
+       depends on IRDA && USB && EXPERIMENTAL
        help
-         Say Y here if you have an infrared device that connects to your
-         computer's serial port. These devices are called dongles. Then say Y
-         or M to the driver for your particular dongle below.
+         Say Y or M here if you want to build support for the KingSun/DonShine
+         DS-620 IrDA-USB bridge device driver.
 
-         Note that the answer to this question won't directly affect the
-         kernel: saying N will just cause the configurator to skip all
-         the questions about serial dongles.
+         This USB bridge does not conform to the IrDA-USB device class
+         specification, and therefore needs its own specific driver. This
+         dongle supports SIR speed only (9600 bps).
 
-config ESI_DONGLE_OLD
-       tristate "ESI JetEye PC dongle"
-       depends on DONGLE_OLD && IRDA
-       help
-         Say Y here if you want to build support for the Extended Systems
-         JetEye PC dongle.  To compile it as a module, choose M here.  The ESI
-         dongle attaches to the normal 9-pin serial port connector, and can
-         currently only be used by IrTTY.  To activate support for ESI
-         dongles you will have to start irattach like this:
-         "irattach -d esi".
-
-config ACTISYS_DONGLE_OLD
-       tristate "ACTiSYS IR-220L and IR220L+ dongle"
-       depends on DONGLE_OLD && IRDA
-       help
-         Say Y here if you want to build support for the ACTiSYS IR-220L and
-         IR220L+ dongles.  To compile it as a module, choose M here.  The
-         ACTiSYS dongles attaches to the normal 9-pin serial port connector,
-         and can currently only be used by IrTTY.  To activate support for
-         ACTiSYS dongles you will have to start irattach like this:
-         "irattach -d actisys" or "irattach -d actisys+".
-
-config TEKRAM_DONGLE_OLD
-       tristate "Tekram IrMate 210B dongle"
-       depends on DONGLE_OLD && IRDA
-       help
-         Say Y here if you want to build support for the Tekram IrMate 210B
-         dongle.  To compile it as a module, choose M here.  The Tekram dongle
-         attaches to the normal 9-pin serial port connector, and can
-         currently only be used by IrTTY.  To activate support for Tekram
-         dongles you will have to start irattach like this:
-         "irattach -d tekram".
+         To compile it as a module, choose M here: the module will be called
+         kingsun-sir.
 
-config GIRBIL_DONGLE_OLD
-       tristate "Greenwich GIrBIL dongle"
-       depends on DONGLE_OLD && IRDA
+config EP7211_DONGLE
+       tristate "EP7211 I/R support"
+       depends on IRTTY_SIR && ARCH_EP7211 && IRDA && EXPERIMENTAL
        help
-         Say Y here if you want to build support for the Greenwich GIrBIL
-         dongle.  To compile it as a module, choose M here.  The Greenwich
-         dongle attaches to the normal 9-pin serial port connector, and can
-         currently only be used by IrTTY.  To activate support for Greenwich
-         dongles you will have to insert "irattach -d girbil" in the
-         /etc/irda/drivers script.
+         Say Y here if you want to build support for the Cirrus logic
+         EP7211 chipset's infrared module.
 
-config LITELINK_DONGLE_OLD
-       tristate "Parallax LiteLink dongle"
-       depends on DONGLE_OLD && IRDA
-       help
-         Say Y here if you want to build support for the Parallax Litelink
-         dongle.  To compile it as a module, choose M here.  The Parallax
-         dongle attaches to the normal 9-pin serial port connector, and can
-         currently only be used by IrTTY.  To activate support for Parallax
-         dongles you will have to start irattach like this:
-         "irattach -d litelink".
-
-config MCP2120_DONGLE_OLD
-       tristate "Microchip MCP2120"
-       depends on DONGLE_OLD && IRDA
+config KSDAZZLE_DONGLE
+       tristate "KingSun Dazzle IrDA-USB dongle (EXPERIMENTAL)"
+       depends on IRDA && USB && EXPERIMENTAL
        help
-         Say Y here if you want to build support for the Microchip MCP2120
-         dongle.  To compile it as a module, choose M here.  The MCP2120 dongle
-         attaches to the normal 9-pin serial port connector, and can
-         currently only be used by IrTTY.  To activate support for MCP2120
-         dongles you will have to insert "irattach -d mcp2120" in the
-         /etc/irda/drivers script.
+         Say Y or M here if you want to build support for the KingSun Dazzle
+         IrDA-USB bridge device driver.
 
-         You must build this dongle yourself.  For more information see:
-         <http://www.eyetap.org/~tangf/irda_sir_linux.html>
+         This USB bridge does not conform to the IrDA-USB device class
+         specification, and therefore needs its own specific driver. This
+         dongle supports SIR speeds only (9600 through 115200 bps).
 
-config OLD_BELKIN_DONGLE_OLD
-       tristate "Old Belkin dongle"
-       depends on DONGLE_OLD && IRDA
-       help
-         Say Y here if you want to build support for the Adaptec Airport 1000
-         and 2000 dongles.  To compile it as a module, choose M here: the module
-         will be called old_belkin.  Some information is contained in the
-         comments at the top of <file:drivers/net/irda/old_belkin.c>.
+         To compile it as a module, choose M here: the module will be called
+         ksdazzle-sir.
 
-config ACT200L_DONGLE_OLD
-       tristate "ACTiSYS IR-200L dongle (EXPERIMENTAL)"
-       depends on DONGLE_OLD && EXPERIMENTAL && IRDA
+config KS959_DONGLE
+       tristate "KingSun KS-959 IrDA-USB dongle (EXPERIMENTAL)"
+       depends on IRDA && USB && EXPERIMENTAL
        help
-         Say Y here if you want to build support for the ACTiSYS IR-200L
-         dongle.  To compile it as a module, choose M here.  The ACTiSYS
-         IR-200L dongle attaches to the normal 9-pin serial port connector,
-         and can currently only be used by IrTTY. To activate support for
-         ACTiSYS IR-200L dongles you will have to start irattach like this:
-         "irattach -d act200l".
-
-config MA600_DONGLE_OLD
-       tristate "Mobile Action MA600 dongle (EXPERIMENTAL)"
-       depends on DONGLE_OLD && EXPERIMENTAL && IRDA
-       ---help---
-         Say Y here if you want to build support for the Mobile Action MA600
-         dongle.  To compile it as a module, choose M here. The MA600 dongle
-         attaches to the normal 9-pin serial port connector, and can
-         currently only be tested on IrCOMM.  To activate support for MA600
-         dongles you will have to insert "irattach -d ma600" in the
-         /etc/irda/drivers script.  Note: irutils 0.9.15 requires no
-         modification. irutils 0.9.9 needs modification. For more
-         information, download the following tar gzip file.
+         Say Y or M here if you want to build support for the KingSun KS-959
+         IrDA-USB bridge device driver.
 
-         There is a pre-compiled module on
-         <http://engsvr.ust.hk/~eetwl95/ma600.html>
+         This USB bridge does not conform to the IrDA-USB device class
+         specification, and therefore needs its own specific driver. This
+         dongle supports SIR speeds only (9600 through 57600 bps).
 
-config EP7211_IR
-       tristate "EP7211 I/R support"
-       depends on DONGLE_OLD && ARCH_EP7211 && IRDA
+         To compile it as a module, choose M here: the module will be called
+         ks959-sir.
 
 comment "FIR device drivers"
 
@@ -341,7 +249,7 @@ config WINBOND_FIR
 
 config TOSHIBA_FIR
        tristate "Toshiba Type-O IR Port"
-       depends on IRDA && PCI && !64BIT
+       depends on IRDA && PCI && !64BIT && VIRT_TO_BUS
        help
          Say Y here if you want to build support for the Toshiba Type-O IR
          and Donau oboe chipsets. These chipsets are used by the Toshiba
@@ -421,6 +329,7 @@ config PXA_FICP
 config MCS_FIR
        tristate "MosChip MCS7780 IrDA-USB dongle"
        depends on IRDA && USB && EXPERIMENTAL
+       select CRC32
        help
          Say Y or M here if you want to build support for the MosChip
          MCS7780 IrDA-USB bridge device driver.