GEM_NRXDESC
v = gem_ringsize(GEM_NRXDESC /* XXX */);
GEM_WRITE_4(sc, GEM_RX_KICK, GEM_NRXDESC - 4);
(sc->sc_rxptr + GEM_NRXDESC - 4) &
for (i = 0; i < GEM_NRXDESC; i++) {
for (i = 0; i < GEM_NRXDESC; i++)
for (i = 0; i < GEM_NRXDESC; i++)
for (i = 0; i < GEM_NRXDESC; i++) {
for (i = 0; i < GEM_NRXDESC; i++)
GEM_WRITE_4(sc, GEM_RX_KICK, GEM_NRXDESC - 4);
gem_ringsize(GEM_NRXDESC /* XXX */) |
for (i = 0; i < GEM_NRXDESC; i++) {
CTASSERT(powerof2(GEM_NRXDESC) && GEM_NRXDESC >= 32 && GEM_NRXDESC <= 8192);
struct gem_rxsoft sc_rxsoft[GEM_NRXDESC];
#define GEM_NRXDESC_MASK (GEM_NRXDESC - 1)
struct gem_desc gcd_rxdescs[GEM_NRXDESC]; /* RX descriptors */