
12 Aug
2010
12 Aug
'10
12:28 a.m.
Hi Stefano,
2010/8/11 Stefano Babic sbabic@denx.de:
The patch removes an endless loop in the usb_eth_send if the tx_complete is not called before going in the loop. The driver interrupt routine is called allowing the driver to check if the TX is completed.
Signed-off-by: Stefano Babic sbabic@denx.de
drivers/usb/gadget/ether.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 1481d76..9eb43d7 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c
- ts = get_timer(0);
- packet_sent=0;
This line breaks the at91sam9261 code. Can you please fix this?
Rest of the patches do not seem to break anything and look okay to me. Thanks.
Kind regards,
Remy