Compaq Tru64 UNIX Installation Manual page 42

Writing network device drivers
Table of Contents

Advertisement

Defines an enumerated data type called w4_media. The if_el device
2
driver can assign one of the following values to W4_MEDIA (the media
type and status register):
MD_TPE
MD_COAXE
MD_RES1
MD_SQE
MD_VLB
MD_PRD
MD_JAB
MD_UNSQ
MD_LBE
MD_JABE
MD_CS
MD_COLL
MD_SQEE
MD_NCRC
Defines the offset for the network diagnostic port register.
3
Defines an enumerated data type called w4_net. The if_el device
4
driver can assign one of the following values to W4_NET (the network
diagnostic port register):
ND_EXT
ND_ENDEC
ND_ECL
ND_LOOP
ND_TXE
ND_RXE
ND_TXB
ND_TXRR
ND_STATE
ND_REV
ND_LOW
2–12 Defining Device Register Offsets
Indicates that 10BaseT cable is enabled.
Indicates that 10Base2 cable is enabled.
Reserved.
Indicates that SQE is present.
Indicates that a valid link beat was detected.
Indicates that polarity reversal was detected.
Indicates that jabber was detected.
Indicates unsequelch.
Indicates that link beat was enabled.
Indicates that jabber was enabled.
Indicates that carrier sense was detected.
Indicates that collisions occurred.
Indicates that SQE stats were enabled.
Indicates that the CRC strip was disabled.
Indicates external loopback.
Indicates encode/decode (ENDEC) loopback.
Indicates Ethernet controller loopback.
Indicates FIFO loopback.
Indicates that TX is enabled.
Indicates that RX is enabled.
Indicates that TX is busy.
Indicates that TX reset is required.
Indicates that statistics are enabled.
Indicates the ASIC revision.
Not currently used.

Advertisement

Table of Contents
loading

Table of Contents