Skip to content
Snippets Groups Projects
Forked from Jonas Rabenstein / Linux
Source project has a limited visibility.
  • H Hartley Sweeten's avatar
    fa3cb219
    staging: comedi: ni_labpc: split out PCI support · fa3cb219
    H Hartley Sweeten authored
    
    Currently the ni_labpc driver is used by the legacy (ISA), PCI, and
    PCMCIA versions of the LabPC board. The driver is enabled under the
    COMEDI_PCI_DRIVERS section of the Kconfig. This means that PCI support
    must be enabled in order to use the ni_labpc driver for the PCI or
    PCMCIA drivers.
    
    Split the PCI support code out of the ni_labpc driver into a separate
    driver, ni_labpc_pci. The PCMCIA support is already slip out as
    ni_labpc_cs.
    
    Modify the Kconfig so that the common code in ni_labpc is enabled by the
    Kconfig option COMEDI_NI_LABPC. The ISA support code is currently still
    in the ni_labpc driver but is only compiled in if COMEDI_NI_LABPC_ISA is
    also enabled.
    
    This allows the PCI and PCMCIA drivers to be enabled without the need
    for the ISA stuff.
    
    Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
    Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    fa3cb219
    History
    staging: comedi: ni_labpc: split out PCI support
    H Hartley Sweeten authored
    
    Currently the ni_labpc driver is used by the legacy (ISA), PCI, and
    PCMCIA versions of the LabPC board. The driver is enabled under the
    COMEDI_PCI_DRIVERS section of the Kconfig. This means that PCI support
    must be enabled in order to use the ni_labpc driver for the PCI or
    PCMCIA drivers.
    
    Split the PCI support code out of the ni_labpc driver into a separate
    driver, ni_labpc_pci. The PCMCIA support is already slip out as
    ni_labpc_cs.
    
    Modify the Kconfig so that the common code in ni_labpc is enabled by the
    Kconfig option COMEDI_NI_LABPC. The ISA support code is currently still
    in the ni_labpc driver but is only compiled in if COMEDI_NI_LABPC_ISA is
    also enabled.
    
    This allows the PCI and PCMCIA drivers to be enabled without the need
    for the ISA stuff.
    
    Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
    Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>