summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/Kconfig
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2013-04-12 16:01:54 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-12 22:12:42 (GMT)
commit22691aec19371c0817565c3af54e276884e908ee (patch)
tree3d3678fca14cdb88e5c752d57645aa94dcb270f1 /drivers/staging/comedi/Kconfig
parent5660e7427113eff85ae712af9cf98c8c5bd368e3 (diff)
downloadlinux-fsl-qoriq-22691aec19371c0817565c3af54e276884e908ee.tar.xz
staging: comedi: amplc_pc263: split out PCI support
The "amplc_pc263" module is a hybrid driver for Amplicon PC263 (ISA) and PCI263 (PCI) and uses conditional compilation (and compiler optimization) to compile in the support for the different bus types. Split out support for the PCI263 into a new module "amplc_pci263", retaining support for the PC263 in the existing module "amplc_pc263". Don't bother supporting the legacy attach mechanism for PCI board in the new module as that is no longer in vogue for the comedi drivers and the PCI263 board has no special configuration requirements. Although the code to handle the single subdevice of each board is the same for both drivers, this is only a small amount of code and I don't think it's worth creating a common module to handle it. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/Kconfig')
-rw-r--r--drivers/staging/comedi/Kconfig13
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 67993c0..9600225 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -230,9 +230,9 @@ config COMEDI_AMPLC_PC236_ISA
config COMEDI_AMPLC_PC263_ISA
tristate "Amplicon PC263 relay board support"
- select COMEDI_AMPLC_PC263
---help---
- Enable support for Amplicon PC263 ISA relay board.
+ Enable support for Amplicon PC263 ISA relay board. This board has
+ 16 reed relay output channels.
To compile this driver as a module, choose M here: the module will be
called amplc_pc263.
@@ -771,12 +771,12 @@ config COMEDI_AMPLC_PC236_PCI
config COMEDI_AMPLC_PC263_PCI
tristate "Amplicon PCI263 relay board support"
- select COMEDI_AMPLC_PC263
---help---
- Enable support for Amplicon PCI263 relay board.
+ Enable support for Amplicon PCI263 relay board. This is a PCI board
+ with 16 reed relay output channels.
To compile this driver as a module, choose M here: the module will be
- called amplc_pc263.
+ called amplc_pci263.
config COMEDI_AMPLC_PCI224
tristate "Amplicon PCI224 and PCI234 support"
@@ -1251,9 +1251,6 @@ config COMEDI_AMPLC_PC236
tristate
select COMEDI_8255
-config COMEDI_AMPLC_PC263
- tristate
-
config COMEDI_DAS08
tristate
select COMEDI_8255