]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/nsi.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / nsi.h
index c48e4ef443edec97778855438780814275305c2c..45cf660a6bf85aa18b81b12462fb469635806f3b 100644 (file)
@@ -13,7 +13,7 @@ int nsi_reset(struct candevice_t *candev);
 int nsi_init_hw_data(struct candevice_t *candev);
 int nsi_init_chip_data(struct candevice_t *candev, int chipnr);
 int nsi_init_obj_data(struct canchip_t *chip, int objnr);
-void nsi_write_register(unsigned data, unsigned long address);
-unsigned nsi_read_register(unsigned long address);
+void nsi_write_register(unsigned data, can_ioptr_t address);
+unsigned nsi_read_register(can_ioptr_t address);
 int nsi_program_irq(struct candevice_t *candev);