#ifdef CAN_ENABLE_VME_SUPPORT
-int unican_vme_reset(struct candevice_t *candev)
-{
- struct chip_t *chip = candev->chip[0];
- unican_writew(chip->chip_irq,chip->chip_base_addr+CL2_VME_INT_VECTOR);
- return unican_reset(candev);
-}
-
-
-int unican_vme_register(struct hwspecops_t *hwspecops)
-{
- hwspecops->request_io = unican_request_io;
- hwspecops->release_io = unican_release_io;
- hwspecops->reset = unican_vme_reset;
- hwspecops->init_hw_data = unican_init_hw_data;
- hwspecops->init_chip_data = unican_init_chip_data;
- hwspecops->init_obj_data = unican_init_obj_data;
- hwspecops->write_register = NULL;
- hwspecops->read_register = NULL;
- hwspecops->program_irq = unican_program_irq;
- return 0;
-}
+#include "unican_vme.c"
#endif /*CAN_ENABLE_VME_SUPPORT*/