From 3c4e3bab300fbe7ff4d89da3ddd5b34ed11f5246 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 2 May 2003 01:01:16 +0000 Subject: [PATCH] updated driver description about isapnp support --- comedi/drivers/ni_atmio.c | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/comedi/drivers/ni_atmio.c b/comedi/drivers/ni_atmio.c index 5a600dfe..c3d78a96 100644 --- a/comedi/drivers/ni_atmio.c +++ b/comedi/drivers/ni_atmio.c @@ -27,11 +27,23 @@ Devices: [National Instruments] AT-MIO-16E-1 (ni_atmio), AT-MIO-16E-2, AT-MIO-16E-10, AT-MIO-16DE-10, AT-MIO-64E-3, AT-MIO-16XE-50, AT-MIO-16XE-10, AT-AI-16XE-10 Status: works -Updated: Sat, 16 Mar 2002 17:34:48 -0800 - -The isapnptools package is required to use this board. Use isapnp to -configure the I/O base for the board, and then pass the same value as -a parameter in comedi_config. A sample isapnp.conf file is included +Updated: Thu May 1 20:03:02 CDT 2003 + +The driver now has (2.4) kernel isapnp support, and +will automatically probe for a supported board if the +I/O base is left unspecified with comedi_config. +However, many of +the isapnp id numbers are unknown. If your board is not +recognized, please send the output of 'cat /proc/isapnp' +(you may need to modprobe the isa-pnp module for +/proc/isapnp to exist) so the +id numbers for your board can be added to the driver. + +Otherwise, you can use the isapnptools package to configure +your board. Use isapnp to +configure the I/O base and IRQ for the board, and then pass +the same values as +parameters in comedi_config. A sample isapnp.conf file is included in the etc/ directory of Comedilib. Comedilib includes a utility to autocalibrate these boards. The @@ -368,8 +380,11 @@ static int ni_isapnp_find_board( struct pci_dev **dev ) if(!isapnp_dev) continue; - if(isapnp_dev->active) continue; - + if(isapnp_dev->active) + { + printk( "%s found but already active, skipping.\n", ni_boards[ i ].name ); + continue; + } if(isapnp_dev->prepare(isapnp_dev)<0) return -EAGAIN; -- 2.26.2