hpsnetc(1M) RISC/os Reference Manual hpsnetc(1M)
NAME
hps_netc - display current HPS network configuration
SYNOPSIS
hpsnetc [device]
DESCRIPTION
Hpsnetc reads the current network configuration from an HPS
host adapter and writes it to standard output. The default
is to request the network configuration from the host
adapter with device name dev/rhp0. An alternate host
adapter may be specified in the argument device.
EXAMPLES
The following example requests the current network confi-
guration from the default host adapter and writes a format-
ted display to standard output:
hpsnetc
The following example requests the current network confi-
guration from a second host adapter in the system and writes
a formatted display to standard output:
hpsnetc /dev/rhp1
The output consists of five fields: NET ADDR, STATE, DEV
TYPE, FW REV and HOST ID.
NET ADDR Network address of device.
STATE Can contain one of six possible values:
⊕ Primitive Idle - Station is waiting to be
downloaded.
⊕ Primitive Idle w/FP - Station is waiting to
be downloaded and has detected failed ports.
⊕ Primitive Connected - Station is being
downloaded.
⊕ Normal Online - Station is online.
⊕ Disconnect - Station considers host adapter
to be inactive.
⊕ Unknown state n - Station returned an
unknown state value n.
DEV TYPE Type of device residing at network address.
Printed 11/19/92 Page 1
hpsnetc(1M) RISC/os Reference Manual hpsnetc(1M)
FW REV Revision of Firmware (ROM based code) on dev-
ice.
HOST ID Host ID of host adapter on network.
Compile under UNIX System V with either:
cc -O -o hpsnetc -I../include/ hpsnetc.c chpslib.o
-lc
If compilation is done on a system that requires IOCB struc-
ture alignment on 32-bit boundaries:
cc -DHPSALIGN -O -o hpsnetc -I../include/ hpsnetc.c
chpslib.o -lc
Page 2 Printed 11/19/92