]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/pcccan.h
77cdd80de4335cba8551040218b584f22a3f74ce
[lincan.git] / lincan / include / pcccan.h
1 /* pcccan.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 pcccan_request_io(unsigned long io_addr);
9 int pcccan_release_io(unsigned long io_addr);
10 int pcccan_reset(int card); 
11 int pcccan_init_hw_data(int card);
12 int pcccan_init_chip_data(int card, int chipnr);
13 int pcccan_init_obj_data(int chipnr, int objnr);
14 void pcccan_write_register(unsigned char data, unsigned long address);
15 unsigned pcccan_read_register(unsigned long address);
16 int pcccan_program_irq(int card);
17