public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] {Spam?} NetRxPackets
@ 2011-01-18  0:15 Marcel
  2011-01-18 21:08 ` [U-Boot] NetRxPackets Marcel
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel @ 2011-01-18  0:15 UTC (permalink / raw)
  To: u-boot

Hi,

ether.c contains the following code :

 req->buf = (u8 *) NetRxPackets[0];
        req->length = size;
        req->complete = rx_complete;

        retval = usb_ep_queue(dev->out_ep, req, gfp_flags);


My USB controller code that I'm writing responds that req->buf is NULL. So the 
OUT packets don't get processed.
I know OUT data arrives in my controller code as I can read it, so my OUT 
endpoint is working. Also my status endpoint is working correctly and my guess 
is there's nothing wrong with my controller code. 

Anyone have an idea how NetRxPackets is allocated ?

Best regards,
Marcel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-01-19  8:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-18  0:15 [U-Boot] {Spam?} NetRxPackets Marcel
2011-01-18 21:08 ` [U-Boot] NetRxPackets Marcel
2011-01-18 21:28   ` Wolfgang Denk
2011-01-18 22:37     ` Marcel
2011-01-18 22:53       ` Wolfgang Denk
2011-01-18 23:41         ` Marcel
2011-01-18 22:54       ` Reinhard Meyer
2011-01-18 23:27         ` Marcel
2011-01-19  8:14           ` Vitaly Kuzmichev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox