Lines Matching +full:link +full:- +full:loss +full:- +full:low
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * 7990.h -- LANCE ethernet IC generic routines.
11 * in particular a2065.[ch]. The AMD C-LANCE datasheet was also helpful.
32 * too long (and overflow the RAM on shared-memory cards like the HP LANCE.
41 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1)
42 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1)
51 volatile unsigned short rmd0; /* low address of packet */
61 volatile unsigned short tmd0; /* low address of packet */
74 volatile unsigned short mode; /* Pre-set mode (reg. 15) */
84 /* The Tx and Rx ring entries must be aligned on 8-byte boundaries.
85 * This will be true if this whole struct is 8-byte aligned.
114 int auto_select; /* cable-selection is by carrier */
120 * a DIO-specific register every time you read/write the LANCE regs :-<
143 #define LE_C0_CERR 0x2000 /* No Heartbeat (10BASE-T) */
164 #define LE_C3_ACON 0x0002 /* ALE Control (on for active low ALE) */
172 /* these next ones 0x4000 -- 0x0080 are not available on the LANCE 7990,
173 * but they are in NetBSD's am7990.h, presumably for backwards-compatible chips
177 #define LE_MO_DLNKTST 0x1000 /* disable link status */
183 /* and this one is from the C-LANCE data sheet... */
185 (C-LANCE, not original LANCE) */
228 #define LE_T3_CLOS 0x0800 /* Loss of Carrier */
234 #define TX_BUFFS_AVAIL ((lp->tx_old <= lp->tx_new) ? \
235 lp->tx_old + lp->tx_ring_mod_mask - lp->tx_new : \
236 lp->tx_old - lp->tx_new - 1)