diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-01-23 03:18:14 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-01-23 03:18:14 +0000 |
commit | a441dee9030c209d23c2884e7a914824cbedb0f8 (patch) | |
tree | a4773961e62c73736bbca70b84801cc4f2d52558 /sys | |
parent | 605075ef02d632699a256f83b46d6d36cde861bc (diff) | |
download | FreeBSD-src-a441dee9030c209d23c2884e7a914824cbedb0f8.zip FreeBSD-src-a441dee9030c209d23c2884e7a914824cbedb0f8.tar.gz |
add PREVIOUS index macro for transmit side
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pci/if_wxvar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_wxvar.h b/sys/pci/if_wxvar.h index dd9179f..2779e61 100644 --- a/sys/pci/if_wxvar.h +++ b/sys/pci/if_wxvar.h @@ -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 |