]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pcccan.h
The original version of Arnaud Westenberg Linux CAN-bus driver
[lincan.git] / lincan / include / pcccan.h
diff --git a/lincan/include/pcccan.h b/lincan/include/pcccan.h
new file mode 100644 (file)
index 0000000..77cdd80
--- /dev/null
@@ -0,0 +1,17 @@
+/* pcccan.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 pcccan_request_io(unsigned long io_addr);
+int pcccan_release_io(unsigned long io_addr);
+int pcccan_reset(int card); 
+int pcccan_init_hw_data(int card);
+int pcccan_init_chip_data(int card, int chipnr);
+int pcccan_init_obj_data(int chipnr, int objnr);
+void pcccan_write_register(unsigned char data, unsigned long address);
+unsigned pcccan_read_register(unsigned long address);
+int pcccan_program_irq(int card);
+