#include <linux/delay.h>
#include <linux/pci.h>
-#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>
#include <pcmcia/cistpl.h>
static int __init init_das16cs_pcmcia_cs(void)
{
- servinfo_t serv;
DEBUG(0, "%s\n", version);
- pcmcia_get_card_services_info(&serv);
- if (serv.Revision != CS_RELEASE_CODE)
- {
- printk(KERN_NOTICE "das16cs: Card Services release "
- "does not match!\n");
- //return -1;
- }
pcmcia_register_driver(&das16cs_driver);
return 0;
}
#include "das08.h"
// pcmcia includes
-#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>
#include <pcmcia/cistpl.h>
static int __init init_das08_pcmcia_cs(void)
{
- servinfo_t serv;
DEBUG(0, "%s\n", version);
- pcmcia_get_card_services_info(&serv);
- if (serv.Revision != CS_RELEASE_CODE)
- {
- printk(KERN_NOTICE "das08: Card Services release "
- "does not match!\n");
- return -1;
- }
pcmcia_register_driver(&das08_cs_driver);
return 0;
}
#include "8255.h"
-#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>
#include <pcmcia/cistpl.h>
static int __init init_dio24_cs(void)
{
- servinfo_t serv;
printk("ni_daq_dio24: HOLA SOY YO!\n");
DEBUG(0, "%s\n", version);
- pcmcia_get_card_services_info(&serv);
- if (serv.Revision != CS_RELEASE_CODE) {
- printk(KERN_NOTICE "ni_daq_dio24: Card Services release "
- "does not match! Vaya putada\n");
- return -1;
- }
pcmcia_register_driver(&dio24_cs_driver);
return 0;
}
#include "comedi_fc.h"
#include "ni_labpc.h"
-#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>
#include <pcmcia/cistpl.h>
static int __init init_labpc_cs(void)
{
- servinfo_t serv;
DEBUG(0, "%s\n", version);
- pcmcia_get_card_services_info(&serv);
- if (serv.Revision != CS_RELEASE_CODE) {
- printk(KERN_NOTICE "ni_labpc: Card Services release "
- "does not match!\n");
- return -1;
- }
pcmcia_register_driver(&labpc_cs_driver);
return 0;
}
#include "ni_stc.h"
#include "8255.h"
-#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>
#include <pcmcia/cistpl.h>
int init_module(void)
{
- servinfo_t serv;
-
- pcmcia_get_card_services_info(&serv);
- if(serv.Revision != CS_RELEASE_CODE){
- printk(KERN_NOTICE "mio_cs: Card Services release "
- "does not match!\n");
- //return -EPERM; /* XXX what to return? */
- }
pcmcia_register_driver(&ni_mio_cs_driver);
comedi_driver_register(&driver_ni_mio_cs);
return 0;
#include <linux/comedidev.h>
#include <linux/version.h>
-#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>
#include <pcmcia/cistpl.h>
int init_module(void)
{
- servinfo_t serv;
DEBUG(0, "%s\n", version);
- pcmcia_get_card_services_info(&serv);
- if (serv.Revision != CS_RELEASE_CODE) {
- printk(KERN_NOTICE "daqp_cs: Card Services release "
- "does not match!\n");
- return -1;
- }
pcmcia_register_driver(&daqp_cs_driver);
comedi_driver_register(&driver_daqp);
return 0;