X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/97078fff5202521b758c9081d75580880417a123..11132ea490f9e860744ee4f851c67e7fb4444231:/lincan/include/ssv.h diff --git a/lincan/include/ssv.h b/lincan/include/ssv.h index d6a1151..9371487 100644 --- a/lincan/include/ssv.h +++ b/lincan/include/ssv.h @@ -5,13 +5,13 @@ * Version 0.6 18 Sept 2000 */ -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); +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 char 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);