X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/c61a955168179d9b11a8f420979eed5cc24869c0..542ecdc96eda5b8ab56ad87bafbe612b4f5204f2:/lincan/include/pip.h diff --git a/lincan/include/pip.h b/lincan/include/pip.h index cc4891f..5feddfe 100644 --- a/lincan/include/pip.h +++ b/lincan/include/pip.h @@ -4,16 +4,18 @@ * 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 + * Modified for PIP5,PIP6,PIP7 and PIP8 + * Stefan Peter, MPL AG, info@mpl.ch */ -int pip5_request_io(struct candevice_t *candev); -int pip5_release_io(struct candevice_t *candev); -int pip5_reset(struct candevice_t *candev); -int pip5_init_hw_data(struct candevice_t *candev); -int pip5_init_chip_data(struct candevice_t *candev, int chipnr); -int pip5_init_obj_data(struct chip_t *chip, int objnr); -void pip5_write_register(unsigned data, unsigned long address); -unsigned pip5_read_register(unsigned long address); -int pip5_program_irq(struct candevice_t *candev); +int pip_request_io(struct candevice_t *candev); +int pip_release_io(struct candevice_t *candev); +int pip_reset(struct candevice_t *candev); +int pip_init_hw_data(struct candevice_t *candev); +int pip_init_chip_data(struct candevice_t *candev, int chipnr); +int pip_init_obj_data(struct canchip_t *chip, int objnr); +void pip_write_register(unsigned data, unsigned long address); +unsigned pip_read_register(unsigned long address); +int pip_program_irq(struct candevice_t *candev);