Lines Matching +full:max +full:- +full:rx +full:- +full:timeout +full:- +full:ms
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
34 * Define this to the minimum "timeout" value. If a transmit takes longer
36 * network, or one with heavy network traffic, this timeout may need to be
38 * necessary transmits - don't set this too high.
54 #define D_EXTRA 2 /* useful, but non-vital information */
58 #define D_PROTO 64 /* debug auto-protocol support */
62 #define D_RX 512 /* show rx packets */
108 name, bytes, _y - _x, \
109 100000000 / 1024 * bytes / (_y - _x + 1)); \
116 * Time needed to reset the card - in ms (milliseconds). This works on my
123 * These are the max/min lengths of packet payload, not including the
128 * In non-RFC1201 protocols, we have to just tack some extra bytes on the
131 #define MTU 253 /* normal packet max size */
133 #define XMTU 508 /* extended packet max size */
141 #define RESETflag 0x10 /* power-on-reset */
142 #define RES1flag 0x20 /* reserved - usually set by jumper */
143 #define RES2flag 0x40 /* reserved - usually set by jumper */
146 /* Flags used for IO-mapped memory operations */
149 #define ENABLE16flag 0x80 /* (for 90xx) Enable 16-bit mode */
152 * 0-2 command
153 * 3-4 page number (for enable rcv/xmt command)
166 #define RESETclear 0x08 /* power-on-reset */
181 #define NORMALconf 0x00 /* 1-249 byte packets */
182 #define EXTconf 0x08 /* 250-504 byte packets */
184 /* card feature flags, set during auto-detection.
195 char suffix; /* a for RFC1201, e for ether-encap, etc. */
197 int is_ip; /* This is a ip plugin - not a raw thing */
199 void (*rx)(struct net_device *dev, int bufnum, member
216 * to us. Mostly for partially-received split packets.
242 timeout, /* Extended timeout for COM20020 */ member
250 int cur_tx, /* buffer used by current transmit, or -1 */
255 int timed_out; /* need to process TX timeout and drop packet */
256 unsigned long last_timeout; /* time of last reported timeout */
275 * Buffer management: an ARCnet card has 4 x 512-byte buffers, each of
279 * situations in which we (for example) want to pre-load a transmit
318 /* hardware-specific functions */
378 #define BUS_ALIGN 2 /* 8 bit device on a 16 bit bus - needs padding */