]> rtime.felk.cvut.cz Git - socketcan-devel.git/blob - etc/can.conf
Added missing inclusion of linux/types.h
[socketcan-devel.git] / etc / can.conf
1
2 # Low Level CAN Framework
3 # Copyright (c) 2005 Volkswagen Group Electronic Research
4 #
5 # $Id$
6 #
7 # uncomment and edit lines for your specific hardware! 
8 #
9 # On debian systems copy this file to the directory
10 # /etc/modutils and say 'update-modules.modutils'.
11 # Other systems: Add this content to /etc/modules.conf
12
13 # protocol family PF_CAN
14 alias net-pf-29 can
15
16 # protocols in PF_CAN
17 alias can-proto-1 can-raw
18 alias can-proto-2 can-bcm
19 alias can-proto-3 can-tp16
20 alias can-proto-4 can-tp20
21 alias can-proto-5 can-mcnet
22 alias can-proto-6 can-isotp
23 alias can-proto-7 can-bap
24
25 # protocol module options
26 #option can-tpgen printstats=1
27 #option can       stats_timer=0
28
29 # virtual CAN devices
30 alias vcan0 vcan
31 alias vcan1 vcan
32 alias vcan2 vcan
33 alias vcan3 vcan
34
35 # CAN hardware (uncomment the currently used)
36
37 ##> Trajet GW2
38 #alias can0 sja1000-gw2
39 #alias can1 sja1000-gw2
40 #alias can2 sja1000-gw2
41 #alias can3 sja1000-gw2
42 #options sja1000-gw2 speed=500,100,500,100
43 #options sja1000-gw2 btr=0xC03D,0xC4F9,0xC03D,0xC4F9
44
45 ##> Peak System hardware (ISA/PCI/Parallelport Dongle)
46 ##> to set BTR-values to PCI-devices see Peak System documentation
47 ##> e.g. echo "i 0x4914 e" > /dev/pcan0
48 #alias can0 pcan
49 #alias can1 pcan
50 #alias can2 pcan
51 #options pcan type=isa,isa io=0x2C0,0x320 irq=10,5 btr=0x4914,0x4914
52 #options pcan type=epp btr=0x4914
53 #options parport_pc io=0x378 irq=7
54
55 ##> MPC5200 MSCAN
56 #alias can0 mscan
57 #alias can1 mscan
58 #options mscan btr=0x054f,0x9d4f # 500kBit / 100kBit
59
60 ##> EMS Wuensche CPC-Card
61 #options cpc-card btr=0x4914,0x4914
62 #
63 ##> add the following lines to /etc/pcmcia/config.opts (!)
64 ## EMS Wuensche CPC-Card CAN Interface
65 #device "cpc-card_cs"
66 #  module "cpc-card", "cpc-card_cs"
67 #  card "EMS Dr. Thomas Wuensche CPC-Card CAN Interface"
68 #  version "EMS_T_W", "CPC-Card", "*", "*"
69 #  bind "cpc-card_cs"