X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/97078fff5202521b758c9081d75580880417a123..11132ea490f9e860744ee4f851c67e7fb4444231:/lincan/include/pccan.h diff --git a/lincan/include/pccan.h b/lincan/include/pccan.h index f5b8901..d47804c 100644 --- a/lincan/include/pccan.h +++ b/lincan/include/pccan.h @@ -1,24 +1,26 @@ /* pccan.h * Header file for the Linux CAN-bus driver. * Written by Arnaud Westenberg email:arnaud@wanadoo.nl + * 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 0.7 6 Aug 2001 + * Version lincan-0.2 9 Jul 2003 */ -int pccanf_request_io(unsigned long io_addr); -int pccanf_release_io(unsigned long io_addr); -int pccand_request_io(unsigned long io_addr); -int pccand_release_io(unsigned long io_addr); -int pccanq_request_io(unsigned long io_addr); -int pccanq_release_io(unsigned long io_addr); -int pccanf_reset(int card); -int pccand_reset(int card); -int pccanq_reset(int card); -int pccan_init_hw_data(int card); -int pccan_init_chip_data(int card, int chipnr); -int pccan_init_obj_data(int chipnr, int objnr); +int pccanf_request_io(struct candevice_t *candev); +int pccanf_release_io(struct candevice_t *candev); +int pccand_request_io(struct candevice_t *candev); +int pccand_release_io(struct candevice_t *candev); +int pccanq_request_io(struct candevice_t *candev); +int pccanq_release_io(struct candevice_t *candev); +int pccanf_reset(struct candevice_t *candev); +int pccand_reset(struct candevice_t *candev); +int pccanq_reset(struct candevice_t *candev); +int pccan_init_hw_data(struct candevice_t *candev); +int pccan_init_chip_data(struct candevice_t *candev, int chipnr); +int pccan_init_obj_data(struct chip_t *chip, int objnr); void pccan_write_register(unsigned char data, unsigned long address); unsigned pccan_read_register(unsigned long address); -int pccan_program_irq(int card); +int pccan_program_irq(struct candevice_t *candev);