"PCI base address 1 is not available\n", dev->minor);
return -ENODEV;
}
- info->plx_regbase_size = pci_resource_len(pci_dev_p, 1);
/*--------------------------- me4000 regbase ----------------------------*/
"PCI base address 2 is not available\n", dev->minor);
return -ENODEV;
}
- info->me4000_regbase_size = pci_resource_len(pci_dev_p, 2);
/*--------------------------- timer regbase ------------------------------*/
"PCI base address 3 is not available\n", dev->minor);
return -ENODEV;
}
- info->timer_regbase_size = pci_resource_len(pci_dev_p, 3);
/*--------------------------- program regbase ----------------------------*/
"PCI base address 5 is not available\n", dev->minor);
return -ENODEV;
}
- info->program_regbase_size = pci_resource_len(pci_dev_p, 5);
return 0;
}
unsigned long timer_regbase; /* Base address of the timer circuit */
unsigned long program_regbase; /* Base address to set the program pin for the xilinx */
- unsigned long plx_regbase_size; /* PLX register set space */
- unsigned long me4000_regbase_size; /* ME4000 register set space */
- unsigned long timer_regbase_size; /* Timer circuit register set space */
- unsigned long program_regbase_size; /* Size of program base address of the ME4000 */
-
unsigned int serial_no; /* Serial number of the board */
unsigned char hw_revision; /* Hardware revision of the board */
unsigned short vendor_id; /* Meilhaus vendor id */