X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/4cf24de229090b1ab6279570a564d224e13dd706..a4c9ead4b64bd4de307f375c2ff313a7a07a06e0:/lincan/include/ssv.h?ds=sidebyside diff --git a/lincan/include/ssv.h b/lincan/include/ssv.h index d6a1151..ca074fa 100644 --- a/lincan/include/ssv.h +++ b/lincan/include/ssv.h @@ -2,16 +2,16 @@ * Header file for the Linux CAN-bus driver. * Written by Arnaud Westenberg email:arnaud@casema.net * This software is released under the GPL-License. - * Version 0.6 18 Sept 2000 + * Version lincan-0.3 17 Jun 2004 */ -int ssv_request_io(unsigned long io_addr); -int ssv_release_io(unsigned long io_addr); -int ssv_reset(int card); -int ssv_init_hw_data(int card); -int ssv_init_chip_data(int card, int chipnr); -int ssv_init_obj_data(int chipnr, int objnr); -void ssv_write_register(unsigned char data, unsigned long address); +int ssv_request_io(struct candevice_t *candev); +int ssv_release_io(struct candevice_t *candev); +int ssv_reset(struct candevice_t *candev); +int ssv_init_hw_data(struct candevice_t *candev); +int ssv_init_chip_data(struct candevice_t *candev, int chipnr); +int ssv_init_obj_data(struct chip_t *chip, int objnr); +void ssv_write_register(unsigned data, unsigned long address); unsigned ssv_read_register(unsigned long address); -int ssv_program_irq(int card); +int ssv_program_irq(struct candevice_t *candev);