]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/smartcan.h
CAN driver infrastructure redesign to LinCAN-0.2 version
[lincan.git] / lincan / include / smartcan.h
index 939df871fc88815bf49122d38d77ed50d858bc33..74fa2aa2cf578f26f8f50a58c7a6398bc69a2d39 100644 (file)
@@ -1,16 +1,18 @@
 /* smartcan.h
  * Header file for the Linux CAN-bus driver.
  * Written by Arnaud Westenberg email:arnaud@wanadoo.nl
+ * Rewritten for new CAN queues by Pavel Pisa - OCERA team member
+ * email:pisa@cmp.felk.cvut.cz
  * This software is released under the GPL-License.
- * Version 0.7  6 Aug 2001
+ * Version lincan-0.2  9 Jul 2003
  */
 
-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);
+int smartcan_request_io(struct candevice_t *candev);
+int smartcan_release_io(struct candevice_t *candev);
+int smartcan_reset(struct candevice_t *candev);
+int smartcan_init_hw_data(struct candevice_t *candev);
+int smartcan_init_chip_data(struct candevice_t *candev, int chipnr);
+int smartcan_init_obj_data(struct chip_t *chip, int objnr);
 void smartcan_write_register(unsigned char data, unsigned long address);
 unsigned smartcan_read_register(unsigned long address);