return 0;
}
+int sja1000_attach_to_chip(struct canchip_t *chip)
+{
+ return 0;
+}
+
+int sja1000_release_chip(struct canchip_t *chip)
+{
+ sja1000_stop_chip(chip);
+ can_write_reg(chip,sjaCR_RR,SJACR);
+
+ return 0;
+}
+
int sja1000_remote_request(struct canchip_t *chip, struct msgobj_t *obj)
{
CANMSG("sja1000_remote_request not implemented\n");
chipspecops->enable_configuration = sja1000_enable_configuration;
chipspecops->disable_configuration = sja1000_disable_configuration;
chipspecops->set_btregs = sja1000_set_btregs;
+ chipspecops->attach_to_chip=sja1000_attach_to_chip;
+ chipspecops->release_chip=sja1000_release_chip;
chipspecops->start_chip = sja1000_start_chip;
chipspecops->stop_chip = sja1000_stop_chip;
chipspecops->irq_handler = sja1000_irq_handler;