Intel PCI-X Switch Configuration / Management API, Functions to reset and initialize switch

Page 47

GigMAC-PMC and PCI

 

GigPMC Switch

Board and Driver Users Manual

/* get driver trace buffer */

#define DM_IOCTL_GET_TRC

1

/* get driver statistics */

2

#define DM_IOCTL_GET_STATS

/* get phy registers */

3

#define DM_IOCTL_GET_PHY_REGS

/* get mac registers */

4

#define DM_IOCTL_GET_MAC_REGS

/* set loopback mode */

5

#define DM_IOCTL_SET_LOOP_MODE

Additional arguments:

arg1=0

Disable loopback

 

arg1=1

Enable loopback

 

/* read eeprom */

 

6

#define DM_IOCTL_READ_EEPROM

/* program eeprom */

7

#define DM_IOCTL_PROG_EEPROM

/* get mac address */

8

#define DM_IOCTL_GET_MAC_ADDR

/* dump buffer descriptors */

9

#define DM_IOCTL_DUMP_BDS

/* get mac MIB statistics */

10

#define DM_IOCTL_GET_MAC_STATS

Please also see example code in dmUtil.c for additional information.

10.5 SWITCH CONFIGURATION / MANAGEMENT API

Note: This section is applicable for Model 5468 GigPMC and Model 6468 GigPCIe switch/interface cards only.

The following functions are provide a low-level access capability for reading and writing the configuration and management registers on the embedded switch:

Functions to reset and initialize switch:

STATUS inResetSwitchDevice(int unit, int initialReset);

LOCAL void inLiInitBcm5388(InLiDev *pLiDev);

DSS NETWORKS, INC.

Version: 2.6

Page: 47

Image 47
Contents Sept DSS NetworksGigMAC-PMC and PCI GigPMC Switch Environmental Specifications Compatibility IntroductionSee Also PCI-X models Model NumbersPMC models PCI-Express 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