Installation guide
Solaris Installation
CAN-API Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
Page 83 of 112
3. Conforming the Configuration File
3.1 Conforming the Configuration File for CAN-ISA Modules:
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
class
String Bus type
interrupts
Numeric Interrupt vector
interrupt-
priorities
Numeric Interrupt priority level (IPL)
reg
Numeric Three values, separated by commas. The second corresponds to the
CAN interface basis address and the third describes the size of the I/O
area in bytes.
Table 23:
Properties of the driver configuration file
The value given in
reg
has to correspond to the basis address configured in the hardware by
means of jumpers or coding switches. The IPL level has to be assigned to a high-level interrupt
and the interrupt vector must not have been assigned by another hardware component.
Below an example configuration file for a CAN-ISA/331 is shown. Its basis address has been
configured at 0x1E0 and it is to use the interrupt vector 7 with an IPL of 11:
# Copyright (c) 1998, by esd gmbh.
#
name="isa331" class="sysbus" interrupts=7 interrupt-priorities=11 reg=1,0x1e0,8;
3.2 Conforming the Configuration File for CAN-PCI Modules:
Since PCI devices report themselves, the configuration and assignment of resource is
automatically when the system is started (Plug & Play). The device driver automatically adopts
the assigned resource so that it does not have to be manually assigned in the driver configuration
file. The only parameter which can be set is the interrupt priority to be used by the IPL driver (see
also example
c331.conf
).
# Copyright (c) 1999-2000 electronic system design gmbh
#
# do not remove the next line
interrupt-priorities=9;










