unsigned long flags;
int probed;
int attached;
- int count;
};
static struct vmk80xx_private vmb[VMK80XX_MAX_BOARDS];
}
devpriv->attached = 1;
- dev_info(dev->class_dev, "vmk80xx: board #%d [%s] attached\n",
- devpriv->count, boardinfo->name);
up(&devpriv->limit_sem);
devpriv = &vmb[i];
memset(devpriv, 0x00, sizeof(*devpriv));
- devpriv->count = i;
ret = vmk80xx_find_usb_endpoints(devpriv, intf);
if (ret) {
devpriv->probed = 1;
- dev_info(&intf->dev, "board #%d [%s] now attached\n",
- devpriv->count, boardinfo->name);
-
mutex_unlock(&glb_mutex);
comedi_usb_auto_config(intf, &vmk80xx_driver);