Toshiba T2N Network Card User Manual


 
132
6 F 3 B 0 3 6 2
7.6 RAS Information Readout
This request reads out the Ethernet Port RAS information (internal error information and
phenomenon history) from a user program.
RAS information readout request (using the RECV instruction)
a. Function
This request reads out the Ethernet Port RAS information from a user program.
b. Transfer parameters
A 3100H
Module designation
A+1 CMD = 0015H
CMD number
A+2 DRID
RAS information storage register type
A+3 DRegNO
RAS information storage register start address
A+4 Kind
RAS request type
A+5 Start
Start position: Valid when Kind is 2 or 4.
A+6 ReadCnt
Number of items read out: Valid when Kind is 4.
(1) RAS information storage register type code
This code specifies the type of the register used to store the read out RAS information.
See figure 5.1 for the type codes that can be specified here.
(2) RAS information storage register start address
Specifies the start address for the registers specified by the local port register type code.
(3) RAS request type: specifies the type of RAS information read out
1: RAS counter..............LAN controller (line) information (See table 7.2.)
2: MIB information .......LAN controller interface, IP, TCP, and UDP information
(See tables 7.3 to 7.6.)
3: Maintenance data (Cannot be used.)
4: Event trace information (See table 7.7.)
5: RAS information clear
(4) Start position: Only valid when the readout request type is 2 (MIB information) or 4 (trace
information).
MIB information (2)...... 0 = MIB_IF
1 = MIB_IP
2 = MIB_TCP
3 = MIB_UDP
Trace information (4)..... 0 to 160; 0 corresponds to the most recent information.
(5) Number of items read out: Only valid when the readout request type is 4 (trace
information).
1 to 30 items.