This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
XXXX_can_send function
- From: mkhoyila at uci dot edu
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 10 Aug 2005 09:40:19 -0700 (PDT)
- Subject: [ECOS] XXXX_can_send function
Thanks for help from Gary and others. I have done tremendous progress.
I have this issue now:
XXXX_can_send function is repeatedly being called. Here is my function:
static int
bcm63xx_can_send(struct eth_drv_sc *sc)
{
struct bcm63xx_priv_data_t *spd = (struct bcm63xx_priv_data_t
*)sc->driver_private;
// db_printf("bcm66xx_can_send \n");
__tx_poll(sc);
if (spd->txFreeBds <= 1)
return 0;
else
return 1;
}
I check my return value, and it is returning 1 to upper layer driver. Yet,
it is being called repeately and XXXX_send function is NOT called. Any
clue will help to debug. Thanks again.
Michael
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss