Lines Matching +full:poll +full:- +full:retry +full:- +full:count

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * mace.h - definitions for the registers in the Am79C940 MACE
16 REG(xmtrc); /* transmit retry count */
19 REG(fifofc); /* FIFO frame count */
22 REG(pr); /* poll register */
36 REG(mpc); /* missed packet count (clears when read) */
38 REG(rntpc); /* runt packet count (clears when read) */
39 REG(rcvcc); /* recv collision count (clears when read) */
47 #define DRTRY 0x80 /* don't retry transmission after collision */
49 #define AUTO_PAD_XMIT 0x01 /* auto-pad short packets on transmission */
53 #define UFLO 0x40 /* underflow - xmit fifo ran dry */
56 #define ONE 0x08 /* 1 retry needed to xmit frame */
63 #define RETRY_MASK 0x0f /* number of retries (0 - 15) */
68 #define AUTO_STRIP_RCV 0x01 /* auto-strip short LLC frames on recv */
74 * Byte 0 and 1: message byte count and frame status
75 * Byte 2: runt packet count
76 * Byte 3: receive collision count
82 #define RS_COUNT 0x0fff /* mask for byte count field */
85 #define RCVFC_SH 4 /* receive frame count in FIFO */
87 #define XMTFC_SH 0 /* transmit frame count in FIFO */
94 #define JABBER 0x80 /* jabber error - 10baseT xmission too long */
95 #define BABBLE 0x40 /* babble - xmitter xmitting for too long */
96 #define CERR 0x20 /* collision err - no SQE test (heartbeat) */
109 #define BSWP 0x40 /* byte swap, i.e. big-endian bus */
130 #define DXMT2PD 0x40 /* disable xmit two-part deferral algorithm */
138 #define XMTSEL 0x08 /* select DO+/DO- state when idle */
140 #define PORTSEL_10T 0x02 /* select 10Base-T port */
146 #define LNKFL 0x80 /* reports 10Base-T link failure */
147 #define DLNKTST 0x40 /* disable 10Base-T link test */
148 #define REVPOL 0x20 /* 10Base-T receiver polarity reversed */
151 #define ASEL 0x04 /* auto-select AUI or 10Base-T port */