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