]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/README
The first enhanced version of Linux CAN-bus driver for OCERA project
[lincan.git] / lincan / README
1 Because we are not able to contact original author Arnaud Westenberg,
2 and we have put piece of work to bugfixes and enhancements of the
3 driver, we decided to offer our latest version to more tests.
4 Please, if you know Arnaud's new address, contact us.
5 Most of new bugs belongs to 
6
7     Pavel Pisa pisa@cmp.felk.cvut.cz 
8 and Tomasz Motylewski, T.Motylewski@bfad.de
9
10 Main enhancements:
11   interrupts service cleanup and partial redesign
12   deep module build redesign
13   support for select
14   preliminary support for 2.5.48 (UP only now)
15   CAN Ethernet proxy
16
17 ------------------------------------------------------------------------
18
19 README for the linux CAN-bus driver.
20 Written by Arnaud Westenberg email:arnaud@wanadoo.nl
21 This software is released under the GPL-License.
22 Version 0.7  6 Aug 2001
23
24 Modified version can-0.7.1-pi2.2
25
26 This version adds new Makefile system.
27 DEVFS support
28 Select/poll support for read/write events
29 Preliminary cleanups for 2.5.xx kernels,
30 it cannot work with SMP 2.5.xx until we get rid off
31 CLI ans STI global directives
32
33 Changes made by Pavel Pisa pisa@cmp.felk.cvut.cz as preliminary
34 study for OCERA Real Time CAN/CANOpen project ORTCAN
35
36 COMPILATION
37 Just type 'make' at the command line and it should compile without errors.
38
39 INSTALLATION.
40 Currently there's no installation procedure, just compile and load the driver.
41
42 LOADING
43 To load the driver type:
44 # insmod can.o hw='your hardware' irq='irq number' io='io address' <options>
45 Example: # insmod can.o hw=pip5 irq=4 io=0x8000
46
47 The hw argument can be one of:
48 - pip5, for the pip5 computer by MPL
49 - pip6, for the pip6 computer by MPL
50 - pccan-q, for the PCcan-Q ISA card by KVASER
51 - pccan-f, for the PCcan-F ISA card by KVASER
52 - pccan-s, for the PCcan-S ISA card by KVASER
53 - pccan-d, for the PCcan-D ISA card by KVASER
54 - nsican, for the CAN104 PC/104 card by NSI
55 - cc104, for the CAN104 PC/104 card by Contemporary Controls
56 - aim104, for the AIM104CAN PC/104 card by Arcom Control Systems
57 - pc-i03, for the PC-I03 ISA card by IXXAT
58 - pcm3680, for the PCM-3680 PC/104 card by Advantech
59 - m437, for the M436 PC/104 card by SECO
60 - bfadcan for sja1000 CAN embedded card made by BFAD GmbH
61 - pikronisa for ISA memory mapped sja1000 CAN card made by PiKRON Ltd.
62 - template, for yet unsupported hardware (you need to edit src/template.c)
63
64 options can be one of:
65 - major=<nr>, major specifies the major number of the driver.
66 - minor=<nr>, you can specify wich minor numbers the driver should use for your
67   hardware.
68 - extended=[1|0], configures the driver to use extended message format.
69 - pelican=[1|0], configures the driver to set the CAN chips into pelican mode.
70 - baudrate=<nr>, sets the baudrate of the device(s)
71 - clock_freq=<nr>, the frequency of the CAN quartz
72 - stdmask=<nr>, sets the standard mask of the device
73 - extmask=<nr>, sets the extended mask of the device
74 - mo15mask=<nr>, sets the mask for message object 15 (i82527 only)
75
76 There's still a lot of work to do, have a look at the TODO file for more
77 information.