dep_tristate 'Generic ISA driver for simple boards' CONFIG_COMEDI_POC $CONFIG_COMEDI
dep_tristate 'PCM3730' CONFIG_COMEDI_PCM3730 $CONFIG_COMEDI
dep_tristate 'Winsystems PCM-A/D' CONFIG_COMEDI_PCMAD $CONFIG_COMEDI
-dep_tristate 'Amplicon PCI230' CONFIG_COMEDI_APMLC_PCI230 $CONFIG_COMEDI
+dep_tristate 'Amplicon PCI230' CONFIG_COMEDI_AMPLC_PCI230 $CONFIG_COMEDI
dep_tristate 'Skeleton driver' CONFIG_COMEDI_SKEL $CONFIG_COMEDI
if [ "$CONFIG_COMEDI_RT" = "y" ];then
obj-$(CONFIG_COMEDI_ADL_PCI9118) += adl_pci9118.o
obj-$(CONFIG_COMEDI_ADV_PCI1710) += adv_pci1710.o
-obj-$(CONFIG_COMEDI_APMLC_PCI230) += amplc_pci230.o
+obj-$(CONFIG_COMEDI_AMPLC_PCI230) += amplc_pci230.o
obj-$(CONFIG_COMEDI_CB_PCIDAS) += cb_pcidas.o
obj-$(CONFIG_COMEDI_CB_PCIDAS64) += cb_pcidas64.o
select(CONFIG_COMEDI_MPC8260CPM mpc8260cpm.o)
select(CONFIG_COMEDI_ADL_PCI9118 adl_pci9118.o)
select(CONFIG_COMEDI_ADV_PCI1710 adv_pci1710.o)
-select(CONFIG_COMEDI_APMLC_PCI230 amplc_pci230.o)
+select(CONFIG_COMEDI_AMPLC_PCI230 amplc_pci230.o)
select(CONFIG_COMEDI_CB_PCIDAS cb_pcidas.o)
select(CONFIG_COMEDI_CB_PCIDAS64 cb_pcidas64.o)
select(CONFIG_COMEDI_CB_PCIDDA cb_pcidda.o)
echo config option $config
fi
+# check Makefile.in for the config option
+if [ $(grep "CONFIG.*${basedriver}.o" Makefile &>/dev/null) ];then
+ echo "E: driver missing from Makefile.in"
+else
+ echo config option $config
+fi
+
# check to see if it uses name recognition
if grep 'board_name:' ${driver} &>/dev/null;then
echo uses recognize to determine type