X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/0333697630a0235151e52d239630623b85cd2d9c..75d77a3d5177ad90a0e319102c776852df2bccb7:/lincan/include/msmcan.h diff --git a/lincan/include/msmcan.h b/lincan/include/msmcan.h index 632acac..9f5b387 100644 --- a/lincan/include/msmcan.h +++ b/lincan/include/msmcan.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 msmcan_request_io(struct candevice_t *candev); @@ -12,8 +12,8 @@ int msmcan_release_io(struct candevice_t *candev); int msmcan_reset(struct candevice_t *candev); int msmcan_init_hw_data(struct candevice_t *candev); int msmcan_init_chip_data(struct candevice_t *candev, int chipnr); -int msmcan_init_obj_data(struct chip_t *chip, int objnr); -void msmcan_write_register(unsigned char data, unsigned long address); +int msmcan_init_obj_data(struct canchip_t *chip, int objnr); +void msmcan_write_register(unsigned data, unsigned long address); unsigned msmcan_read_register(unsigned long address); int msmcan_program_irq(struct candevice_t *candev);