]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/smartcan.h
The original version of Arnaud Westenberg Linux CAN-bus driver
[lincan.git] / lincan / include / smartcan.h
diff --git a/lincan/include/smartcan.h b/lincan/include/smartcan.h
new file mode 100644 (file)
index 0000000..939df87
--- /dev/null
@@ -0,0 +1,16 @@
+/* smartcan.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 smartcan_request_io(unsigned long io_addr);
+int smartcan_release_io(unsigned long io_addr);
+int smartcan_reset(int card);
+int smartcan_init_hw_data(int card);
+int smartcan_init_chip_data(int card, int chipnr);
+int smartcan_init_obj_data(int chipnr,int objnr);
+void smartcan_write_register(unsigned char data, unsigned long address);
+unsigned smartcan_read_register(unsigned long address);
+