[PATCH 0/4] staging: comedi: Tidy up NI config options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The selection of options for building drivers for National Instruments
cards is a bit weird.  First you have to select COMEDI_NI_COMMON, enter
a sub-menu and select some other options (COMEDI_MITE, COMEDI_NI_TIO and
possibly COMEDI_NI_TIOCMD) before the driver you really want to select
becomes visible in the "Comedi PCI drivers" menu.

The sub-menu mentioned earlier "Comedi National Instruments card
support" includes the various helper modules required, plus an option to
select the 'ni_labpc' driver for NI Lab-PC PCI and ISA boards.  Move
that option into the "Comedi PCI drivers" menu and make the options for
the helper modules selectable by other config options.  Then there is no
need for the sub-menu so it can be got rid of.

(Note: the ISA and PCI parts of 'ni_labpc' should really be separately
configurable, but that hasn't been done yet.  Sticking it in the "Comedi
PCI drivers" menu will do for now.)

Also split the CONFIG_COMEDI_NI_TIO configuration option for building
the 'ni_tio' and 'ni_tiocmd' modules.  Some drivers depend on the
'ni_tiocmd' module (which in turn depends on the 'ni_tio' and 'mite'
modules), but others only depend on the 'ni_tio' module, so it makes
sense to split the config option.

 drivers/staging/comedi/Kconfig          |   99 +++++++++++-------------------
 drivers/staging/comedi/drivers/Makefile |    2 +-
 2 files changed, 37 insertions(+), 64 deletions(-)

[PATCH 1/4] split CONFIG_COMEDI_NI_TIO option
[PATCH 2/4] Move COMEDI_NI_LABPC config option
[PATCH 3/4] Simplify NI driver configuration
[PATCH 4/4] Move COMEDI_MITE and COMEDI_NI_TIOCMD
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux