/*-----------------------------------------------------------------------------
Meilhaus function prototypes
---------------------------------------------------------------------------*/
-static int init_board_info(struct comedi_device *dev,
- struct pci_dev *pci_dev_p);
static int xilinx_download(struct comedi_device *dev);
static int reset_board(struct comedi_device *dev);
if (!info->program_regbase)
return -ENODEV;
- result = init_board_info(dev, pci_device);
- if (result)
- return result;
+ dev->irq = pci_device->irq;
result = xilinx_download(dev);
if (result)
return 0;
}
-static int init_board_info(struct comedi_device *dev, struct pci_dev *pci_dev_p)
-{
- /* Init spin locks */
- /* spin_lock_init(&info->preload_lock); */
- /* spin_lock_init(&info->ai_ctrl_lock); */
-
- /* Get the irq assigned to the board */
- dev->irq = pci_dev_p->irq;
-
- return 0;
-}
-
#define FIRMWARE_NOT_AVAILABLE 1
#if FIRMWARE_NOT_AVAILABLE
extern unsigned char *xilinx_firm;