]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/template.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / template.h
index bccf422dbd2116c422eeb37bb328d3ff95a13c19..3963dc3788a9d9f3b950797c63b1c68d232ec963 100644 (file)
@@ -12,8 +12,8 @@ int template_release_io(struct candevice_t *candev);
 int template_reset(struct candevice_t *candev); 
 int template_init_hw_data(struct candevice_t *candev);
 int template_init_chip_data(struct candevice_t *candev, int chipnr);
-int template_init_obj_data(struct chip_t *chip, int objnr);
-void template_write_register(unsigned data, unsigned long address);
-unsigned template_read_register(unsigned long address);
+int template_init_obj_data(struct canchip_t *chip, int objnr);
+void template_write_register(unsigned data, can_ioptr_t address);
+unsigned template_read_register(can_ioptr_t address);
 int template_program_irq(struct candevice_t *candev);