]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/nsi.h
The original version of Arnaud Westenberg Linux CAN-bus driver
[lincan.git] / lincan / include / nsi.h
1 /* nsi.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 nsi_request_io(unsigned long io_addr);
9 int nsi_release_io(unsigned long io_addr);
10 int nsi_reset(int card); 
11 int nsi_init_hw_data(int card);
12 int nsi_init_chip_data(int card, int chipnr);
13 int nsi_init_obj_data(int chipnr, int objnr);
14 void nsi_write_register(unsigned char data, unsigned long address);
15 unsigned nsi_read_register(unsigned long address);
16 int nsi_program_irq(int card);
17