From 73b941540a02cfdd3b905983f8005aec26e94c72 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Tue, 20 Jun 2006 00:57:15 +0000 Subject: [PATCH] Added some missing pcmcia device tables. --- comedi/drivers/cb_das16_cs.c | 10 +++++++++- comedi/drivers/das08_cs.c | 9 ++++++++- comedi/drivers/quatech_daqp_cs.c | 9 ++++++++- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/comedi/drivers/cb_das16_cs.c b/comedi/drivers/cb_das16_cs.c index 883b95bb..6b8a1228 100644 --- a/comedi/drivers/cb_das16_cs.c +++ b/comedi/drivers/cb_das16_cs.c @@ -1031,13 +1031,21 @@ static int das16cs_pcmcia_resume(struct pcmcia_device *p_dev) } /* das16cs_pcmcia_resume */ /*====================================================================*/ + +static struct pcmcia_device_id das16cs_id_table[] = +{ + PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x0039), + PCMCIA_DEVICE_NULL +}; +MODULE_DEVICE_TABLE(pcmcia, das16cs_id_table); + struct pcmcia_driver das16cs_driver = { .probe = das16cs_pcmcia_attach, .remove = das16cs_pcmcia_detach, .suspend = das16cs_pcmcia_suspend, .resume = das16cs_pcmcia_resume, - .id_table = NULL, /* FIXME */ + .id_table = das16cs_id_table, .owner = THIS_MODULE, .drv = { .name = dev_info, diff --git a/comedi/drivers/das08_cs.c b/comedi/drivers/das08_cs.c index ec5e34bc..648e5b0d 100644 --- a/comedi/drivers/das08_cs.c +++ b/comedi/drivers/das08_cs.c @@ -555,13 +555,20 @@ static int das08_pcmcia_resume(struct pcmcia_device *p_dev) /*====================================================================*/ +static struct pcmcia_device_id das08_cs_id_table[] = +{ + PCMCIA_DEVICE_MANF_CARD(0x01c5, 0x4001), + PCMCIA_DEVICE_NULL +}; +MODULE_DEVICE_TABLE(pcmcia, das08_cs_id_table); + struct pcmcia_driver das08_cs_driver = { .probe = das08_pcmcia_attach, .remove = das08_pcmcia_detach, .suspend = das08_pcmcia_suspend, .resume = das08_pcmcia_resume, - .id_table = NULL, /* FIXME */ + .id_table = das08_cs_id_table, .owner = THIS_MODULE, .drv = { .name = dev_info, diff --git a/comedi/drivers/quatech_daqp_cs.c b/comedi/drivers/quatech_daqp_cs.c index 98ca132c..63842ed8 100644 --- a/comedi/drivers/quatech_daqp_cs.c +++ b/comedi/drivers/quatech_daqp_cs.c @@ -1436,13 +1436,20 @@ static int daqp_cs_resume(struct pcmcia_device *p_dev) #ifdef MODULE +static struct pcmcia_device_id daqp_cs_id_table[] = +{ + PCMCIA_DEVICE_MANF_CARD(0x0137, 0x0027), + PCMCIA_DEVICE_NULL +}; +MODULE_DEVICE_TABLE(pcmcia, daqp_cs_id_table); + struct pcmcia_driver daqp_cs_driver = { .probe = daqp_cs_attach, .remove = daqp_cs_detach, .suspend = daqp_cs_suspend, .resume = daqp_cs_resume, - .id_table = NULL, /* FIXME */ + .id_table = daqp_cs_id_table, .owner = THIS_MODULE, .drv = { .name = dev_info, -- 2.26.2