]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/template.h
The original version of Arnaud Westenberg Linux CAN-bus driver
[lincan.git] / lincan / include / template.h
1 /* template.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 template_request_io(unsigned long io_addr);
9 int template_release_io(unsigned long io_addr);
10 int template_reset(int card); 
11 int template_init_hw_data(int card);
12 int template_init_chip_data(int card, int chipnr);
13 int template_init_obj_data(int chipnr, int objnr);
14 void template_write_register(unsigned char data, unsigned long address);
15 unsigned template_read_register(unsigned long address);
16 int template_program_irq(int card);
17