X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/4cf24de229090b1ab6279570a564d224e13dd706..1d20caee804d28a792dcacbf8424dc23b80c6370:/lincan/include/pcccan.h diff --git a/lincan/include/pcccan.h b/lincan/include/pcccan.h index 77cdd80..183186b 100644 --- a/lincan/include/pcccan.h +++ b/lincan/include/pcccan.h @@ -1,17 +1,19 @@ /* pcccan.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.3 17 Jun 2004 */ -int pcccan_request_io(unsigned long io_addr); -int pcccan_release_io(unsigned long io_addr); -int pcccan_reset(int card); -int pcccan_init_hw_data(int card); -int pcccan_init_chip_data(int card, int chipnr); -int pcccan_init_obj_data(int chipnr, int objnr); -void pcccan_write_register(unsigned char data, unsigned long address); -unsigned pcccan_read_register(unsigned long address); -int pcccan_program_irq(int card); +int pcccan_request_io(struct candevice_t *candev); +int pcccan_release_io(struct candevice_t *candev); +int pcccan_reset(struct candevice_t *candev); +int pcccan_init_hw_data(struct candevice_t *candev); +int pcccan_init_chip_data(struct candevice_t *candev, int chipnr); +int pcccan_init_obj_data(struct canchip_t *chip, int objnr); +void pcccan_write_register(unsigned data, can_ioptr_t address); +unsigned pcccan_read_register(can_ioptr_t address); +int pcccan_program_irq(struct candevice_t *candev);