This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XXXX_can_send function -- HELP NEEDED


Team,

I staticly set my XXXX_can_send function to return 0. When I bring up my
board, it is sending ARP request message (I captured it). From my debug
statements I see that my XXXX_send function is not called.

HOW IS THIS POSSIBLE?

Is there another MIPS ethernet driver in eCos that I might have included
in my configuration by accident? Is this why my XXXX_can_send function
behaving abnormally?

Thanks.

> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]