1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

add PREVIOUS index macro for transmit side

This commit is contained in:
Matt Jacob 2000-01-23 03:18:14 +00:00
parent 127432d7e2
commit 1c3c868623
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56421

View File

@ -313,6 +313,7 @@ typedef struct wx_softc {
*/
#define WX_MAX_TDESC 256 /* number of transmit descriptors */
#define T_NXT_IDX(x) ((x + 1) & (WX_MAX_TDESC - 1))
#define T_PREV_IDX(x) ((x - 1) & (WX_MAX_TDESC - 1))
#define WX_MAX_RDESC 64 /* number of receive descriptors */
#ifdef PADDED_CELL
#define RXINCR 2