Intel PCI-X user manual Installing the driver

Page 29

GigMAC-PMC and PCI

 

GigPMC Switch

Board and Driver Users Manual

$ 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 adapter cards 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 newer versions of Linux (2.4.18 – 2.4.26, 2.6).

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

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

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

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

Configure the card using your preferred configuration tool, or edit the initialization script for the interface directly. On Red Hat, the file /etc/sysconfig/network-scripts/ifcfg-eth0 might look something like this (substituting ethernet device number, example: eth0, eth1, etc):

DEVICE='eth1'

BOOTPROTO='none'

ONBOOT='yes'

IPADDR=192.168.0.3

GATEWAY=192.168.0.1

DSS NETWORKS, INC.

Version: 2.6

Page: 29

Image 29
Contents Sept DSS NetworksGigMAC-PMC and PCI GigPMC Switch Environmental Specifications Compatibility IntroductionSee Also PMC models Model NumbersPCI-Express models PCI-X modelsKEY Features OEM Developer KIT Contents Switch Capabilities Models 5468/6468GigMAC-PMC and PCI GigPMC Switch Wind River System RequirementsHardware Information 6.1 Board Photos DSS NETWORKS, INC Transmit and Receive Activity Indicators Board LED IndicatorsLink LNK Indicator Receive activity Transmit activity‰ TBD PMC Connectors Pin Assignments Pn1/Jn1 32 Bit PCI PMC Connector PIN/SIGNAL DefinitionsPn2/Jn2 32 Bit PCI Pn3/Jn3 32 Bit PCI Pn4/Jn4 optional I/O Model 5468 only PCI Configuration Registers Model Vendor and Device IDSEeprom Listings Model 5262-RJ Default Register Settings GigMAC-PMC and PCI GigPMC Switch Ethernet Frame Latency Power Consumption SpecsHardware Installation Embedded or Compact PCI Installation Installation in PC ComputerCopper Cabling and Connector Info Fiber Cable Specifications Copper RJ-45 Connector and Cable Building the driver Software Driver InstallationLinux Driver Installation and Usage Installing the driver Sample MODULES.CONF File Tuning the Installation Parameter Name Valid Default Description Range/Settings ‘Insmod’ Command Line ParametersSuggested basic verifications to be run Edit Makefile Un-comment the following define Using dmUtil dpm driver utility Vxworks Driver Installation and UsageVxWorks usage PCI Registers Show Function Unit 0, ioAddr 40020000, mac regs MAC Registers Show FunctionMAC Statistics Show Function GigMAC-PMC and PCI GigPMC Switch PHY Registers Show Function Eeprom Show Function Buffer Descriptor Status Show Function MAC Address Show FunctionStopping Frame Generator Starting Frame GeneratorDPM Driver Management API Switch Status Show FunctionIoctl Command SUB-TYPES Functions to reset and initialize switch Switch Configuration / Management APIFunctions to read and write registers in the switch Testing and Verification Specifications Standards Compliance Environmental RangeEnvironmental Standards Compliance pending GigMAC-PMC and PCI GigPMC Switch Environmental Specifications Warrantee and Support Info Technical Support and Warranty
Related manuals
Manual 406 pages 21.68 Kb