]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/template.h
The original version of Arnaud Westenberg Linux CAN-bus driver
[lincan.git] / lincan / include / template.h
diff --git a/lincan/include/template.h b/lincan/include/template.h
new file mode 100644 (file)
index 0000000..410a46b
--- /dev/null
@@ -0,0 +1,17 @@
+/* template.h
+ * Header file for the Linux CAN-bus driver.
+ * Written by Arnaud Westenberg email:arnaud@wanadoo.nl
+ * This software is released under the GPL-License.
+ * Version 0.7  6 Aug 2001
+ */
+
+int template_request_io(unsigned long io_addr);
+int template_release_io(unsigned long io_addr);
+int template_reset(int card); 
+int template_init_hw_data(int card);
+int template_init_chip_data(int card, int chipnr);
+int template_init_obj_data(int chipnr, int objnr);
+void template_write_register(unsigned char data, unsigned long address);
+unsigned template_read_register(unsigned long address);
+int template_program_irq(int card);
+