EasyManuals Logo

Broadcom NetXtreme User Manual

Broadcom NetXtreme
193 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #190 background imageLoading...
Page #190 background image
Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
page 190
Broadcom Confidential and Proprietary
12. TCL Environment Variables
The B57diag utility provides numerous environment settings for users to develop their own
testing and configuration scripts. Tcl environment variables are accessed using the syntax
$::<array_name>(<array_idx>).
12.1 env
This environment variable inherits the setting from DOS. Depending upon what is set while
in the DOS environment, users can also retrieve the DOS setting via this variable. For
example, $::env(COMSPEC) could be C:\COMMAND.COM.
12.2 nx1
This variable maintains information for the currently selected device. Note that these
variables are meant to be read-only, and they will change as users switch from one device to
another.
$::nx1(BASE_ADDR) – the base address of the selected device (e.g. 0xffbe0000)
$::nx1(BASE_ADDR_HIGH) – the top 32 bits of the base address of the selected device
(e.g. 0x0)
$::nx1(BASE_ADDR_LOW) the bottom 32 bits of the base address of the selected
device (e.g. 0xffbe0000)
$::nx1(BUS) the bus, device, and function number of the selected device (e.g.
“00:0b:0”)
$::nx1(BUS_TYPE) the type of PCI bus on which the selected device resides (e.g.
PCIX-64, PCIE-1)
$::nx1(PCI_SPEED) the speed of the PCI bus on which the selected device resides
(e.g. 2502.5G, 5005.0G, 3333MHz, 6666MHz)
$::nx1(CHIP_BUILD) – always “ASIC”
$::nx1(CHIP_REV) – the chip revision of the selected device (e.g. “A0”)
$::nx1(CPU) – always “Rx”
$::nx1(DEV) – currently selected device (value = 0, 1, … )
$::nx1(DIAG_VER) – the version of this diagnostic program in string (e.g. “14.65”)
$::nx1(DRV_STATE) – the current state of the driver (e.g. “UNLOAD”, “LOAD”)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Broadcom NetXtreme and is the answer not in the manual?

Broadcom NetXtreme Specifications

General IconGeneral
ManufacturerBroadcom
Product LineNetXtreme
CategoryAdapter
Connector TypeRJ45
Supported OSWindows, Linux
FeaturesTCP/IP Offload

Related product manuals