]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/eb8245.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / eb8245.h
1 /* eb8245.h
2  * Header file for the Linux CAN-bus driver.
3  * Written by Arnaud Westenberg email:arnaud@wanadoo.nl
4  * Added by Pavel Pisa pisa@cmp.felk.cvut.cz
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  * Support for Kontron EB8245 onboard CAN using 
10  * memory mapped SJA1000 controller
11  */
12
13 int eb8245_request_io(struct candevice_t *candev);
14 int eb8245_release_io(struct candevice_t *candev);
15 int eb8245_reset(struct candevice_t *candev); 
16 int eb8245_init_hw_data(struct candevice_t *candev);
17 int eb8245_init_chip_data(struct candevice_t *candev, int chipnr);
18 int eb8245_init_obj_data(struct canchip_t *chip, int objnr);
19 int eb8245_program_irq(struct candevice_t *candev);
20 void eb8245_write_register(unsigned data, can_ioptr_t address);
21 unsigned eb8245_read_register(can_ioptr_t address);