Mercurial > ecos
diff packages/io/eth/current/src/stand_alone/eth_drv.c @ 143:6b5f480c6929 ecos-sw-2000-12-08
Merge from eCos master repository on 2000-12-08-02:09:36-GMT
| author | jlarmour |
|---|---|
| date | Fri, 08 Dec 2000 03:30:06 +0000 |
| parents | 518f42066aba |
| children | 0d0f03f76f6a |
line wrap: on
line diff
--- a/packages/io/eth/current/src/stand_alone/eth_drv.c +++ b/packages/io/eth/current/src/stand_alone/eth_drv.c @@ -248,7 +248,6 @@ eth_drv_write(char *eth_hdr, char *buf, sg_list[1].buf = (CYG_ADDRESS)buf; sg_list[1].len = len; packet_sent = 0; - (sc->funs->send)(sc, sg_list, sg_len, len+14, (CYG_ADDRWORD)&packet_sent); if (net_debug) { int old_console; old_console = start_console(); @@ -257,6 +256,7 @@ eth_drv_write(char *eth_hdr, char *buf, dump_buf((CYG_ADDRWORD)buf, len); end_console(old_console); } + (sc->funs->send)(sc, sg_list, sg_len, len+14, (CYG_ADDRWORD)&packet_sent); while (!packet_sent) { (sc->funs->poll)(sc);
