]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/cc_can104.h
The original version of Arnaud Westenberg Linux CAN-bus driver
[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  * This software is released under the GPL-License.
5  * Version 0.7  6 Aug 2001
6  */
7
8 int cc104_request_io(unsigned long io_addr);
9 int cc104_release_io(unsigned long io_addr);
10 int cc104_reset(int card); 
11 int cc104_init_hw_data(int card);
12 int cc104_init_chip_data(int card, int chipnr);
13 int cc104_init_obj_data(int chipnr, int objnr);
14 void cc104_write_register(unsigned char data, unsigned long address);
15 unsigned cc104_read_register(unsigned long address);
16 int cc104_program_irq(int card);
17