]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/cc_can104.h
3f2b063fd9a3b1a19676a75b4f5e5f25315c1390
[lincan.git] / lincan / include / cc_can104.h
1 /* cc_can104.h
2  * Header file for the Linux CAN-bus driver.
3  * Written by Arnaud Westenberg email:arnaud@wanadoo.nl
4  * Rewritten for new CAN queues by Pavel Pisa - OCERA team member
5  * email:pisa@cmp.felk.cvut.cz
6  * This software is released under the GPL-License.
7  * Version lincan-0.3  17 Jun 2004
8  */
9
10 int cc104_request_io(struct candevice_t *candev);
11 int cc104_release_io(struct candevice_t *candev);
12 int cc104_reset(struct candevice_t *candev); 
13 int cc104_init_hw_data(struct candevice_t *candev);
14 int cc104_init_chip_data(struct candevice_t *candev, int chipnr);
15 int cc104_init_obj_data(struct chip_t *chip, int objnr);
16 void cc104_write_register(unsigned data, unsigned long address);
17 unsigned cc104_read_register(unsigned long address);
18 int cc104_program_irq(struct candevice_t *candev);
19