From: David Schleef Date: Sun, 3 Sep 2000 01:51:53 +0000 (+0000) Subject: additional debugging for unknown boards X-Git-Tag: r0_7_48~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=af6b7a67780d7668ab767c40316d6b5a6b4bb56f;p=comedi.git additional debugging for unknown boards --- diff --git a/comedi/drivers/ni_pcidio.c b/comedi/drivers/ni_pcidio.c index 92407638..f23ab0ac 100644 --- a/comedi/drivers/ni_pcidio.c +++ b/comedi/drivers/ni_pcidio.c @@ -458,6 +458,7 @@ static int nidio_find_device(comedi_device *dev,comedi_devconfig *it) } } printk("no device found\n"); + mite_list_devices(); return -EIO; } diff --git a/comedi/drivers/ni_pcimio.c b/comedi/drivers/ni_pcimio.c index 0c9afa8a..668e6b05 100644 --- a/comedi/drivers/ni_pcimio.c +++ b/comedi/drivers/ni_pcimio.c @@ -350,7 +350,7 @@ static ni_board ni_boards[]={ static int pcimio_attach(comedi_device *dev,comedi_devconfig *it); static int pcimio_detach(comedi_device *dev); -static int pcimio_recognize(const char *name); +static int pcimio_recognize(char *name); comedi_driver driver_pcimio={ driver_name: "ni_pcimio", module: THIS_MODULE, @@ -453,7 +453,7 @@ static int pcimio_detach(comedi_device *dev) return 0; } -static int pcimio_recognize(const char *name) +static int pcimio_recognize(char *name) { if(!strcmp(name,"pcimio-E")){ printk("name \"pcimio-E\" deprecated. Use \"ni_pcimio\"\n"); @@ -521,7 +521,7 @@ static int pcimio_find_device(comedi_device *dev) } } printk("no device found\n"); - mite_list_boards(); + mite_list_devices(); return -EIO; }