diff options
author | Alexander Kurz <linux@kbdbabel.org> | 2010-05-19 15:13:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 16:38:54 -0400 |
commit | 824196248c1f28aa7d151fd5b11d76182c751f19 (patch) | |
tree | 1c0c0de6a40bc81a214be8b0b412cd27a101d1bd /drivers/staging | |
parent | 53fa827e295d8b09a2446b3126577244644d256d (diff) |
Staging: comedi: fix 8255 and DAS08 Kconfig dependancies.
Both drivers support directly or indirectly multiple bus types,
hence both are listed independent of bus types.
Signed-off-by: Alexander Kurz <linux@kbdbabel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/Kconfig | 78 | ||||
-rw-r--r-- | drivers/staging/comedi/drivers/Makefile | 4 |
2 files changed, 59 insertions, 23 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index 8ce307e64b58..7ac097e2576c 100644 --- a/drivers/staging/comedi/Kconfig +++ b/drivers/staging/comedi/Kconfig | |||
@@ -100,15 +100,6 @@ menuconfig COMEDI_ISA_DRIVERS | |||
100 | 100 | ||
101 | if COMEDI_ISA_DRIVERS && ISA | 101 | if COMEDI_ISA_DRIVERS && ISA |
102 | 102 | ||
103 | config COMEDI_8255 | ||
104 | tristate "Generic 8255 support" | ||
105 | default N | ||
106 | ---help--- | ||
107 | Enable generic 8255 support. | ||
108 | |||
109 | To compile this driver as a module, choose M here: the module will be | ||
110 | called 8255. | ||
111 | |||
112 | config COMEDI_ACL7225B | 103 | config COMEDI_ACL7225B |
113 | tristate "ADlink NuDAQ ACL-7225b and compatibles support" | 104 | tristate "ADlink NuDAQ ACL-7225b and compatibles support" |
114 | default N | 105 | default N |
@@ -130,6 +121,7 @@ config COMEDI_PCL711 | |||
130 | 121 | ||
131 | config COMEDI_PCL724 | 122 | config COMEDI_PCL724 |
132 | tristate "Advantech PCL-722/724/731 and ADlink ACL-7122/7124/PET-48DIO" | 123 | tristate "Advantech PCL-722/724/731 and ADlink ACL-7122/7124/PET-48DIO" |
124 | select COMEDI_8255 | ||
133 | default N | 125 | default N |
134 | ---help--- | 126 | ---help--- |
135 | Enable support for Advantech PCL-724, PCL-722, PCL-731 and | 127 | Enable support for Advantech PCL-724, PCL-722, PCL-731 and |
@@ -198,6 +190,7 @@ config COMEDI_PCL818 | |||
198 | 190 | ||
199 | config COMEDI_PCM3724 | 191 | config COMEDI_PCM3724 |
200 | tristate "Advantech PCM-3724 PC/104 card support" | 192 | tristate "Advantech PCM-3724 PC/104 card support" |
193 | select COMEDI_8255 | ||
201 | default N | 194 | default N |
202 | ---help--- | 195 | ---help--- |
203 | Enable support for Advantech PCM-3724 PC/104 cards. | 196 | Enable support for Advantech PCM-3724 PC/104 cards. |
@@ -232,18 +225,9 @@ config COMEDI_RTI802 | |||
232 | To compile this driver as a module, choose M here: the module will be | 225 | To compile this driver as a module, choose M here: the module will be |
233 | called rti802. | 226 | called rti802. |
234 | 227 | ||
235 | config COMEDI_DAS08 | ||
236 | tristate "DAS-08 compatible ISA, PC/104 and PCMCIA card support" | ||
237 | default N | ||
238 | ---help--- | ||
239 | Enable support for Keithley Metrabyte/ComputerBoards DAS08 | ||
240 | and compatible ISA and PC/104 cards | ||
241 | |||
242 | To compile this driver as a module, choose M here: the module will be | ||
243 | called das08. | ||
244 | |||
245 | config COMEDI_DAS16M1 | 228 | config COMEDI_DAS16M1 |
246 | tristate "MeasurementComputing CIO-DAS16/M1DAS-16 ISA card support" | 229 | tristate "MeasurementComputing CIO-DAS16/M1DAS-16 ISA card support" |
230 | select COMEDI_8255 | ||
247 | select COMEDI_FC | 231 | select COMEDI_FC |
248 | default N | 232 | default N |
249 | ---help--- | 233 | ---help--- |
@@ -254,6 +238,7 @@ config COMEDI_DAS16M1 | |||
254 | 238 | ||
255 | config COMEDI_DAS16 | 239 | config COMEDI_DAS16 |
256 | tristate "DAS-16 compatible ISA and PC/104 card support" | 240 | tristate "DAS-16 compatible ISA and PC/104 card support" |
241 | select COMEDI_8255 | ||
257 | select COMEDI_FC | 242 | select COMEDI_FC |
258 | default N | 243 | default N |
259 | ---help--- | 244 | ---help--- |
@@ -385,6 +370,7 @@ config COMEDI_FL512 | |||
385 | 370 | ||
386 | config COMEDI_AIO_AIO12_8 | 371 | config COMEDI_AIO_AIO12_8 |
387 | tristate "I/O Products PC/104 AIO12-8 Analog I/O Board support" | 372 | tristate "I/O Products PC/104 AIO12-8 Analog I/O Board support" |
373 | select COMEDI_8255 | ||
388 | default N | 374 | default N |
389 | ---help--- | 375 | ---help--- |
390 | Enable support for I/O Products PC/104 AIO12-8 Analog I/O Board | 376 | Enable support for I/O Products PC/104 AIO12-8 Analog I/O Board |
@@ -466,6 +452,7 @@ config COMEDI_NI_ATMIO | |||
466 | config COMEDI_NI_ATMIO16D | 452 | config COMEDI_NI_ATMIO16D |
467 | tristate "NI AT-MIO16/AT-MIO16D series ISA-PNP card support" | 453 | tristate "NI AT-MIO16/AT-MIO16D series ISA-PNP card support" |
468 | depends on ISAPNP && COMEDI_NI_COMMON | 454 | depends on ISAPNP && COMEDI_NI_COMMON |
455 | select COMEDI_8255 | ||
469 | default N | 456 | default N |
470 | ---help--- | 457 | ---help--- |
471 | Enable support for National Instruments AT-MIO16/AT-MIO16D cards. | 458 | Enable support for National Instruments AT-MIO16/AT-MIO16D cards. |
@@ -667,6 +654,7 @@ config COMEDI_ADDI_APCI_3XXX | |||
667 | 654 | ||
668 | config COMEDI_ADL_PCI6208 | 655 | config COMEDI_ADL_PCI6208 |
669 | tristate "ADLink PCI-6208A support" | 656 | tristate "ADLink PCI-6208A support" |
657 | select COMEDI_8255 | ||
670 | default N | 658 | default N |
671 | ---help--- | 659 | ---help--- |
672 | Enable support for ADLink PCI-6208A cards | 660 | Enable support for ADLink PCI-6208A cards |
@@ -751,6 +739,7 @@ config COMEDI_ADV_PCI1723 | |||
751 | 739 | ||
752 | config COMEDI_ADV_PCI_DIO | 740 | config COMEDI_ADV_PCI_DIO |
753 | tristate "Advantech PCI DIO card support" | 741 | tristate "Advantech PCI DIO card support" |
742 | select COMEDI_8255 | ||
754 | default N | 743 | default N |
755 | ---help--- | 744 | ---help--- |
756 | Enable support for Advantech PCI DIO cards | 745 | Enable support for Advantech PCI DIO cards |
@@ -762,6 +751,7 @@ config COMEDI_ADV_PCI_DIO | |||
762 | 751 | ||
763 | config COMEDI_AMPLC_DIO200 | 752 | config COMEDI_AMPLC_DIO200 |
764 | tristate "Amplicon PC272E and PCI272 DIO board support" | 753 | tristate "Amplicon PC272E and PCI272 DIO board support" |
754 | select COMEDI_8255 | ||
765 | default N | 755 | default N |
766 | ---help--- | 756 | ---help--- |
767 | Enable support for Amplicon PC272E and PCI272 DIO boards | 757 | Enable support for Amplicon PC272E and PCI272 DIO boards |
@@ -771,6 +761,7 @@ config COMEDI_AMPLC_DIO200 | |||
771 | 761 | ||
772 | config COMEDI_AMPLC_PC236 | 762 | config COMEDI_AMPLC_PC236 |
773 | tristate "Amplicon PC36AT and PCI236 DIO board support" | 763 | tristate "Amplicon PC36AT and PCI236 DIO board support" |
764 | select COMEDI_8255 | ||
774 | default N | 765 | default N |
775 | ---help--- | 766 | ---help--- |
776 | Enable support for Amplicon PC36AT and PCI236 DIO boards | 767 | Enable support for Amplicon PC36AT and PCI236 DIO boards |
@@ -799,6 +790,7 @@ config COMEDI_AMPLC_PCI224 | |||
799 | 790 | ||
800 | config COMEDI_AMPLC_PCI230 | 791 | config COMEDI_AMPLC_PCI230 |
801 | tristate "Amplicon PCI230 and PCI260 support" | 792 | tristate "Amplicon PCI230 and PCI260 support" |
793 | select COMEDI_8255 | ||
802 | default N | 794 | default N |
803 | ---help--- | 795 | ---help--- |
804 | Enable support for Amplicon PCI230 and PCI260 Multifunction I/O | 796 | Enable support for Amplicon PCI230 and PCI260 Multifunction I/O |
@@ -869,6 +861,7 @@ config COMEDI_II_PCI20KC | |||
869 | 861 | ||
870 | config COMEDI_DAQBOARD2000 | 862 | config COMEDI_DAQBOARD2000 |
871 | tristate "IOtech DAQboard/2000 support" | 863 | tristate "IOtech DAQboard/2000 support" |
864 | select COMEDI_8255 | ||
872 | default N | 865 | default N |
873 | ---help--- | 866 | ---help--- |
874 | Enable support for the IOtech DAQboard/2000 | 867 | Enable support for the IOtech DAQboard/2000 |
@@ -896,6 +889,7 @@ config COMEDI_KE_COUNTER | |||
896 | 889 | ||
897 | config COMEDI_CB_PCIDAS64 | 890 | config COMEDI_CB_PCIDAS64 |
898 | tristate "MeasurementComputing PCI-DAS 64xx, 60xx, and 4020 support" | 891 | tristate "MeasurementComputing PCI-DAS 64xx, 60xx, and 4020 support" |
892 | select COMEDI_8255 | ||
899 | select COMEDI_FC | 893 | select COMEDI_FC |
900 | default N | 894 | default N |
901 | ---help--- | 895 | ---help--- |
@@ -907,6 +901,7 @@ config COMEDI_CB_PCIDAS64 | |||
907 | 901 | ||
908 | config COMEDI_CB_PCIDAS | 902 | config COMEDI_CB_PCIDAS |
909 | tristate "MeasurementComputing PCI-DAS support" | 903 | tristate "MeasurementComputing PCI-DAS support" |
904 | select COMEDI_8255 | ||
910 | select COMEDI_FC | 905 | select COMEDI_FC |
911 | default N | 906 | default N |
912 | ---help--- | 907 | ---help--- |
@@ -920,6 +915,7 @@ config COMEDI_CB_PCIDAS | |||
920 | 915 | ||
921 | config COMEDI_CB_PCIDDA | 916 | config COMEDI_CB_PCIDDA |
922 | tristate "MeasurementComputing PCI-DDA series support" | 917 | tristate "MeasurementComputing PCI-DDA series support" |
918 | select COMEDI_8255 | ||
923 | default N | 919 | default N |
924 | ---help--- | 920 | ---help--- |
925 | Enable support for ComputerBoards/MeasurementComputing PCI-DDA | 921 | Enable support for ComputerBoards/MeasurementComputing PCI-DDA |
@@ -931,6 +927,7 @@ config COMEDI_CB_PCIDDA | |||
931 | 927 | ||
932 | config COMEDI_CB_PCIDIO | 928 | config COMEDI_CB_PCIDIO |
933 | tristate "MeasurementComputing PCI-DIO series support" | 929 | tristate "MeasurementComputing PCI-DIO series support" |
930 | select COMEDI_8255 | ||
934 | default N | 931 | default N |
935 | ---help--- | 932 | ---help--- |
936 | Enable support for ComputerBoards/MeasurementComputing PCI-DIO series | 933 | Enable support for ComputerBoards/MeasurementComputing PCI-DIO series |
@@ -941,6 +938,7 @@ config COMEDI_CB_PCIDIO | |||
941 | 938 | ||
942 | config COMEDI_CB_PCIMDAS | 939 | config COMEDI_CB_PCIMDAS |
943 | tristate "MeasurementComputing PCIM-DAS1602/16 support" | 940 | tristate "MeasurementComputing PCIM-DAS1602/16 support" |
941 | select COMEDI_8255 | ||
944 | default N | 942 | default N |
945 | ---help--- | 943 | ---help--- |
946 | Enable support for ComputerBoards/MeasurementComputing PCI Migration | 944 | Enable support for ComputerBoards/MeasurementComputing PCI Migration |
@@ -951,6 +949,7 @@ config COMEDI_CB_PCIMDAS | |||
951 | 949 | ||
952 | config COMEDI_CB_PCIMDDA | 950 | config COMEDI_CB_PCIMDDA |
953 | tristate "MeasurementComputing PCIM-DDA06-16 support" | 951 | tristate "MeasurementComputing PCIM-DDA06-16 support" |
952 | select COMEDI_8255 | ||
954 | default N | 953 | default N |
955 | ---help--- | 954 | ---help--- |
956 | Enable support for ComputerBoards/MeasurementComputing PCIM-DDA06-16 | 955 | Enable support for ComputerBoards/MeasurementComputing PCIM-DDA06-16 |
@@ -1026,6 +1025,7 @@ config COMEDI_NI_670X | |||
1026 | config COMEDI_NI_PCIDIO | 1025 | config COMEDI_NI_PCIDIO |
1027 | tristate "NI PCI-DIO32HS, PCI-DIO96, PCI-6533, PCI-6503 support" | 1026 | tristate "NI PCI-DIO32HS, PCI-DIO96, PCI-6533, PCI-6503 support" |
1028 | depends on COMEDI_MITE | 1027 | depends on COMEDI_MITE |
1028 | select COMEDI_8255 | ||
1029 | default N | 1029 | default N |
1030 | ---help--- | 1030 | ---help--- |
1031 | Enable support for National Instruments PCI-DIO-32HS, PXI-6533, | 1031 | Enable support for National Instruments PCI-DIO-32HS, PXI-6533, |
@@ -1058,6 +1058,7 @@ config COMEDI_NI_PCIMIO | |||
1058 | 1058 | ||
1059 | config COMEDI_RTD520 | 1059 | config COMEDI_RTD520 |
1060 | tristate "Real Time Devices PCI4520/DM7520 support" | 1060 | tristate "Real Time Devices PCI4520/DM7520 support" |
1061 | select COMEDI_8255 | ||
1061 | default N | 1062 | default N |
1062 | ---help--- | 1063 | ---help--- |
1063 | Enable support for Real Time Devices PCI4520/DM7520 | 1064 | Enable support for Real Time Devices PCI4520/DM7520 |
@@ -1097,7 +1098,7 @@ endif # COMEDI_PCI_DRIVERS | |||
1097 | 1098 | ||
1098 | menuconfig COMEDI_PCMCIA_DRIVERS | 1099 | menuconfig COMEDI_PCMCIA_DRIVERS |
1099 | tristate "Comedi PCMCIA drivers" | 1100 | tristate "Comedi PCMCIA drivers" |
1100 | depends on COMEDI && PCMCIA && PCCARD | 1101 | depends on COMEDI && (PCMCIA || PCCARD) |
1101 | default N | 1102 | default N |
1102 | ---help--- | 1103 | ---help--- |
1103 | Enable comedi PCMCIA and PCCARD drivers to be built | 1104 | Enable comedi PCMCIA and PCCARD drivers to be built |
@@ -1142,6 +1143,7 @@ config COMEDI_NI_DAQ_700_CS | |||
1142 | config COMEDI_NI_DAQ_DIO24_CS | 1143 | config COMEDI_NI_DAQ_DIO24_CS |
1143 | tristate "NI DAQ-Card DIO-24 PCMCIA support" | 1144 | tristate "NI DAQ-Card DIO-24 PCMCIA support" |
1144 | depends on COMEDI_NI_COMMON | 1145 | depends on COMEDI_NI_COMMON |
1146 | select COMEDI_8255 | ||
1145 | default N | 1147 | default N |
1146 | ---help--- | 1148 | ---help--- |
1147 | Enable support for the National Instruments PCMCIA DAQ-Card DIO-24 | 1149 | Enable support for the National Instruments PCMCIA DAQ-Card DIO-24 |
@@ -1162,8 +1164,8 @@ config COMEDI_NI_LABPC_CS | |||
1162 | config COMEDI_NI_MIO_CS | 1164 | config COMEDI_NI_MIO_CS |
1163 | tristate "NI DAQCard E series PCMCIA support" | 1165 | tristate "NI DAQCard E series PCMCIA support" |
1164 | depends on COMEDI_NI_TIO && COMEDI_NI_COMMON | 1166 | depends on COMEDI_NI_TIO && COMEDI_NI_COMMON |
1165 | default N | ||
1166 | select COMEDI_FC | 1167 | select COMEDI_FC |
1168 | default N | ||
1167 | ---help--- | 1169 | ---help--- |
1168 | Enable support for the National Instruments PCMCIA DAQCard E series | 1170 | Enable support for the National Instruments PCMCIA DAQCard E series |
1169 | DAQCard-ai-16xe-50, DAQCard-ai-16e-4, DAQCard-6062E, DAQCard-6024E | 1171 | DAQCard-ai-16xe-50, DAQCard-ai-16e-4, DAQCard-6062E, DAQCard-6024E |
@@ -1265,6 +1267,7 @@ config COMEDI_MITE | |||
1265 | 1267 | ||
1266 | config COMEDI_NI_TIO | 1268 | config COMEDI_NI_TIO |
1267 | tristate "NI general purpose counter support" | 1269 | tristate "NI general purpose counter support" |
1270 | select COMEDI_8255 | ||
1268 | select COMEDI_MITE | 1271 | select COMEDI_MITE |
1269 | default N | 1272 | default N |
1270 | ---help--- | 1273 | ---help--- |
@@ -1278,6 +1281,7 @@ config COMEDI_NI_TIO | |||
1278 | 1281 | ||
1279 | config COMEDI_NI_LABPC | 1282 | config COMEDI_NI_LABPC |
1280 | tristate "NI Lab-PC and compatibles ISA and PCI support" | 1283 | tristate "NI Lab-PC and compatibles ISA and PCI support" |
1284 | select COMEDI_8255 | ||
1281 | select COMEDI_FC | 1285 | select COMEDI_FC |
1282 | default N | 1286 | default N |
1283 | ---help--- | 1287 | ---help--- |
@@ -1291,8 +1295,40 @@ config COMEDI_NI_LABPC | |||
1291 | 1295 | ||
1292 | endif # COMEDI_NI_COMMON | 1296 | endif # COMEDI_NI_COMMON |
1293 | 1297 | ||
1298 | config COMEDI_8255 | ||
1299 | tristate "Generic 8255 support" | ||
1300 | depends on COMEDI | ||
1301 | default N | ||
1302 | ---help--- | ||
1303 | Enable generic 8255 support. | ||
1304 | |||
1305 | You should enable compilation this driver if you plan to use a board | ||
1306 | that has an 8255 chip. For multifunction boards, the main driver will | ||
1307 | configure the 8255 subdevice automatically. | ||
1308 | |||
1309 | Note that most PCI 8255 boards do NOT work with this driver, and | ||
1310 | need a separate driver as a wrapper. | ||
1311 | |||
1312 | To compile this driver as a module, choose M here: the module will be | ||
1313 | called 8255. | ||
1314 | |||
1315 | config COMEDI_DAS08 | ||
1316 | tristate "DAS-08 compatible support" | ||
1317 | depends on COMEDI | ||
1318 | select COMEDI_8255 | ||
1319 | default N | ||
1320 | ---help--- | ||
1321 | Enable support for DAS08 and compatible ISA, PC/104 and PCI cards. | ||
1322 | |||
1323 | Note that PCMCIA DAS08 cards are not directly supported by this | ||
1324 | driver, and need a separate driver as a wrapper. | ||
1325 | |||
1326 | To compile this driver as a module, choose M here: the module will be | ||
1327 | called das08. | ||
1328 | |||
1294 | config COMEDI_FC | 1329 | config COMEDI_FC |
1295 | tristate "Comedi shared functions for low-level driver support" | 1330 | tristate "Comedi shared functions for low-level driver support" |
1331 | depends on COMEDI | ||
1296 | default N | 1332 | default N |
1297 | ---help--- | 1333 | ---help--- |
1298 | Enable support for shared functions for low-level drivers. | 1334 | Enable support for shared functions for low-level drivers. |
diff --git a/drivers/staging/comedi/drivers/Makefile b/drivers/staging/comedi/drivers/Makefile index 5ccf246e2526..354fb7d29841 100644 --- a/drivers/staging/comedi/drivers/Makefile +++ b/drivers/staging/comedi/drivers/Makefile | |||
@@ -12,7 +12,6 @@ obj-$(CONFIG_COMEDI_SERIAL2002) += serial2002.o | |||
12 | obj-$(CONFIG_COMEDI_SKEL) += skel.o | 12 | obj-$(CONFIG_COMEDI_SKEL) += skel.o |
13 | 13 | ||
14 | # Comedi ISA drivers | 14 | # Comedi ISA drivers |
15 | obj-$(CONFIG_COMEDI_8255) += 8255.o | ||
16 | obj-$(CONFIG_COMEDI_ACL7225B) += acl7225b.o | 15 | obj-$(CONFIG_COMEDI_ACL7225B) += acl7225b.o |
17 | obj-$(CONFIG_COMEDI_PCL711) += pcl711.o | 16 | obj-$(CONFIG_COMEDI_PCL711) += pcl711.o |
18 | obj-$(CONFIG_COMEDI_PCL724) += pcl724.o | 17 | obj-$(CONFIG_COMEDI_PCL724) += pcl724.o |
@@ -26,7 +25,6 @@ obj-$(CONFIG_COMEDI_PCM3724) += pcm3724.o | |||
26 | obj-$(CONFIG_COMEDI_PCM3730) += pcm3730.o | 25 | obj-$(CONFIG_COMEDI_PCM3730) += pcm3730.o |
27 | obj-$(CONFIG_COMEDI_RTI800) += rti800.o | 26 | obj-$(CONFIG_COMEDI_RTI800) += rti800.o |
28 | obj-$(CONFIG_COMEDI_RTI802) += rti802.o | 27 | obj-$(CONFIG_COMEDI_RTI802) += rti802.o |
29 | obj-$(CONFIG_COMEDI_DAS08) += das08.o | ||
30 | obj-$(CONFIG_COMEDI_DAS16M1) += das16m1.o | 28 | obj-$(CONFIG_COMEDI_DAS16M1) += das16m1.o |
31 | obj-$(CONFIG_COMEDI_DAS16) += das16.o | 29 | obj-$(CONFIG_COMEDI_DAS16) += das16.o |
32 | obj-$(CONFIG_COMEDI_DAS800) += das800.o | 30 | obj-$(CONFIG_COMEDI_DAS800) += das800.o |
@@ -135,4 +133,6 @@ obj-$(CONFIG_COMEDI_NI_TIO) += ni_tio.o | |||
135 | obj-$(CONFIG_COMEDI_NI_TIO) += ni_tiocmd.o | 133 | obj-$(CONFIG_COMEDI_NI_TIO) += ni_tiocmd.o |
136 | obj-$(CONFIG_COMEDI_NI_LABPC) += ni_labpc.o | 134 | obj-$(CONFIG_COMEDI_NI_LABPC) += ni_labpc.o |
137 | 135 | ||
136 | obj-$(CONFIG_COMEDI_8255) += 8255.o | ||
137 | obj-$(CONFIG_COMEDI_DAS08) += das08.o | ||
138 | obj-$(CONFIG_COMEDI_FC) += comedi_fc.o | 138 | obj-$(CONFIG_COMEDI_FC) += comedi_fc.o |