DSS Networks 5161 User Manual

Page 19

Advertising
background image

GigMAC PMC and PCI

Board and Driver Users Manual

To create a new driver object module:

$ make clean

$ make



Repeat same procedure with driver utility directory as follows:

$ mkdir util

$ cd util

$ cp /mnt/cdrom/linux-dpm-driver/util/util*.tar.gz .

$ gunzip util*.tar.gz

$ tar vxf util*.tar



To create a new utility programs:

$ make clean

$ make



Note(1): If you are installing the GigMac in an SMP machine, you should
comment out the standard CFLAGS line in the “Makefile” and uncomment the
SMP version of CFLAGS before compiling the driver (safe to leave SMP enabled
on most newer versions of Linux).

Note(2): Before compiling, please also edit the Makefile and set “INCLUDEDIR”
to the path of your Linux kernel source tree. For example:

INCLUDEDIR = /usr/src/linux-2.4.25/include


Installing the driver

To install the driver object module in the file system, become root and run:

# make install

# depmod –a

# insmod dpm.o [ChipSelector=0] [ChipSelector=1]


Note(1): For loading driver with Intel 82546 based cards, use ‘ChipSelector=1’

Note(2): For loading driver with National DP83820 based cards, use
‘ChipSelector=0’ or leave blank (default)

Note(3): ‘modprobe’ may be used in place of ‘insmod’ to resolve module
dependencies.

DSS NETWORKS, INC.

Version: 2.0

Page: 19

Advertising
This manual is related to the following products: