]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/m437.h
CAN driver infrastructure redesign to LinCAN-0.2 version
[lincan.git] / lincan / include / m437.h
index 869dc1e570491f44c450234cf4485f48cb1ab039..2c77bd31fa1f1842f9b044e27cdfef86c0ed828e 100644 (file)
@@ -1,19 +1,21 @@
 /* m437.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
  *
  * Header file for the SECO M437 (see m437.c for details)
  */
 
-int m437_request_io(unsigned long io_addr);
-int m437_release_io(unsigned long io_addr);
-int m437_reset(int card); 
-int m437_init_hw_data(int card);
-int m437_init_chip_data(int card, int chipnr);
-int m437_init_obj_data(int chipnr, int objnr);
+int m437_request_io(struct candevice_t *candev);
+int m437_release_io(struct candevice_t *candev);
+int m437_reset(struct candevice_t *candev); 
+int m437_init_hw_data(struct candevice_t *candev);
+int m437_init_chip_data(struct candevice_t *candev, int chipnr);
+int m437_init_obj_data(struct chip_t *chip, int objnr);
 void m437_write_register(unsigned char data, unsigned long address);
 unsigned m437_read_register(unsigned long address);
-int m437_program_irq(int card);
+int m437_program_irq(struct candevice_t *candev);
 int m437_register(struct hwspecops_t *hwspecops);