dev->board bugfix
authorDavid Schleef <ds@schleef.org>
Thu, 9 Mar 2000 22:04:38 +0000 (22:04 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 9 Mar 2000 22:04:38 +0000 (22:04 +0000)
comedi/drivers.c

index c64192ec57b3c457cfbbb352f60fd5cc135028d7..727972bf464eac339f04329dc39f78a12b988894 100644 (file)
@@ -95,6 +95,7 @@ int comedi_device_attach(comedi_device *dev,comedi_devconfig *it)
                        if(strcmp(driv->driver_name,it->board_name))
                                continue;
                }
+               dev->board = i;
                ret=driv->attach(dev,it);
                if(ret<0){
                        driv->detach(dev);