Installation guide

Solaris Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
CAN-API Installation
Page 84 of 112
3.1 Conforming the Configuration File for the VME-CAN4 Module:
Before the driver is installed for the first time, its driver configuration file has to be conformed
to the hardware configuration. The following properties have to be available in
driver.conf
,
where
driver
has to be substituted by the according driver name. Only the properties printed
in italics have to be conformed. For a summarizing overview of the (bus-specific) properties)
please consult the according manual pages (
driver.conf, sysbus, pci
).
Name Parameter Meaning
name
String Driver name, here always:
ican4
class
String Bus type here always:
vme
interrupts
Numeric Interrupt level and vector
Four interrupts at the same interrupt level with interrupt vectors with the
offset of 1, 4 and 5 have to be defined (see following example).
Note:
The hardware of the VME-CAN4 supports up to 8
interrupt vectors. Because of the compatibility to the
VME-CAN2 the vectors 1, 2, 5 and 6 are used (according
entries: 0x80, 0x81, 0x84, 0x85).
Attention:
The interrupt level has to carefully selected to obviate
conflicts with existing interrupts of the system!
reg
Numeric Contains six values separated by commas, that define the address range
of the VME-CAN4:
- The first value defines the 1. address range:
0xad
=> A16
- The second value defines the board address within the 1. address
range that is used to initialize the address registers of the VME-
CAN4:
0xe000 + (coding_switch_setting • 0x100)
(only, if the geographical addressing is inactive, please refer
hardware manual of VME-CAN4)
- The third value defines the size of the 1. address range in bytes and
thus the offset to the next board within the A16-address range of the
system: always
0x100
- The fourth value defines the 2. address range:
0x4d
=> A32
- The fifth value defines the A32-address of the VME-CAN4 board:
e.g.
0x10000000
- The sixth value defines the size of the 2. address range in bytes:
always
0x00100000
Note:
Due to reasons of the address coding the offset to the next
board within the A32-address range in the system is
0x00200000
!
Table 24:
Properties of the driver configuration file
Below an example configuration file for the VME-CAN4:
name="ican4"
class="vme"
interrupts=6,0x80,6,0x81,6,0x84,6,0x85
reg=0xad,0xe100,0x100,0x4d,0x10000000,0x00100000;