X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/c61a955168179d9b11a8f420979eed5cc24869c0..1b6d7503d59302cc11198b5cbb001c19a45abc9e:/lincan/include/nsi.h diff --git a/lincan/include/nsi.h b/lincan/include/nsi.h index 8f00ae0..c48e4ef 100644 --- a/lincan/include/nsi.h +++ b/lincan/include/nsi.h @@ -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 nsi_request_io(struct candevice_t *candev); @@ -12,7 +12,7 @@ int nsi_release_io(struct candevice_t *candev); 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 chip_t *chip, int objnr); +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); int nsi_program_irq(struct candevice_t *candev);