]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pc-i03.h
Merge: Correction for 2.6.23-git kernel - unregister_chrdev() does not return value.
[lincan.git] / lincan / include / pc-i03.h
index 2245e4e5ca92ee1b1b44fac7d79f69caf84bc18b..589e04233308238049c91dea832b2d37faa96a92 100644 (file)
@@ -4,7 +4,7 @@
  * 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 lincan-0.2  9 Jul 2003
+ * Version lincan-0.3  17 Jun 2004
  */
 
 int pci03_request_io(struct candevice_t *candev);
@@ -12,8 +12,8 @@ int pci03_release_io(struct candevice_t *candev);
 int pci03_reset(struct candevice_t *candev); 
 int pci03_init_hw_data(struct candevice_t *candev);
 int pci03_init_chip_data(struct candevice_t *candev, int chipnr);
-int pci03_init_obj_data(struct chip_t *chip, int objnr);
-void pci03_write_register(unsigned data, unsigned long address);
-unsigned pci03_read_register(unsigned long address);
+int pci03_init_obj_data(struct canchip_t *chip, int objnr);
+void pci03_write_register(unsigned data, can_ioptr_t address);
+unsigned pci03_read_register(can_ioptr_t address);
 int pci03_program_irq(struct candevice_t *candev);