7 struct GTeth_desc txq_desc
[32];
9 unsigned int txq_nactive
;
13 GTeth_txq_free (struct GTeth_softc
*sc
)
15 struct GTeth_desc
*txd
= &sc
->txq_desc
[0];
16 txd
->ed_cmdsts
&= ~(1U << (31));
19 GTeth_txq_done (struct GTeth_softc
*sc
)
21 while (sc
->txq_nactive
> 0)
23 volatile struct GTeth_desc
*txd
= &sc
->txq_desc
[sc
->txq_fi
];
26 if (sc
->txq_nactive
== 1)