Put the TxComp and TxExc events back into the code after testing w/o

proved fruitless.  Also added the DTIM event to the irq handler loop.
This commit is contained in:
mark 2000-06-30 18:24:30 +00:00
parent 150a10fdb5
commit 3403fc0d8f
1 changed files with 4 additions and 3 deletions

View File

@ -197,7 +197,7 @@ static void prism2sta_inf_psusercnt(
/*================================================================*/
/* Function Definitions */
inline int txfid_stackempty(prism2sta_priv_t *priv)
inline int g_stackempty(prism2sta_priv_t *priv)
{
UINT32 flags;
/* paranoid? */
@ -449,7 +449,7 @@ dmpmem(pb->ethbuf, pb->ethbuflen);
memset(&txdesc, 0, sizeof(txdesc));
/* Tx complete and Tx exception disable per dleach. Might be causing buf depletion */
#if 0
#if 1
txdesc.tx_control =
HFA384x_TX_MACPORT_SET(0) | HFA384x_TX_STRUCTYPE_SET(1) |
HFA384x_TX_TXEX_SET(1) | HFA384x_TX_TXOK_SET(1);
@ -1494,7 +1494,8 @@ void prism2sta_interrupt IRQ(int irq, void *dev_id, struct pt_regs *regs)
} while ( (HFA384x_EVSTAT_ISINFDROP(reg) || HFA384x_EVSTAT_ISINFO(reg) ||
HFA384x_EVSTAT_ISTXEXC(reg) || HFA384x_EVSTAT_ISTX(reg) ||
HFA384x_EVSTAT_ISRX(reg) || HFA384x_EVSTAT_ISALLOC(reg)) &&
HFA384x_EVSTAT_ISRX(reg) || HFA384x_EVSTAT_ISALLOC(reg) ||
HFA384x_EVSTAT_ISDTIM(reg)) &&
ev_read < prism2_irq_evread_max);
/* Clear the BAP context */