]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pcm3680.h
SJA1000 clockout divisors listed explicitly.
[lincan.git] / lincan / include / pcm3680.h
index c0d595799885b8ba990b9e5e9a15fc7201aed6c4..d97cbd2f37317a74394f26a0c0d1527ff5c7cfcc 100644 (file)
@@ -1,17 +1,19 @@
 /* pcm3680.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.3  17 Jun 2004
  */
 
-int pcm3680_request_io(unsigned long io_addr);
-int pcm3680_release_io(unsigned long io_addr);
-int pcm3680_reset(int card); 
-int pcm3680_init_hw_data(int card);
-int pcm3680_init_chip_data(int card, int chipnr);
-int pcm3680_init_obj_data(int chipnr, int objnr);
-void pcm3680_write_register(unsigned char data, unsigned long address);
+int pcm3680_request_io(struct candevice_t *candev);
+int pcm3680_release_io(struct candevice_t *candev);
+int pcm3680_reset(struct candevice_t *candev); 
+int pcm3680_init_hw_data(struct candevice_t *candev);
+int pcm3680_init_chip_data(struct candevice_t *candev, int chipnr);
+int pcm3680_init_obj_data(struct canchip_t *chip, int objnr);
+void pcm3680_write_register(unsigned data, unsigned long address);
 unsigned pcm3680_read_register(unsigned long address);
-int pcm3680_program_irq(int card);
+int pcm3680_program_irq(struct candevice_t *candev);