Mercurial > flash_v2
changeset 1483:dc0016c597aa
Better handling of Tx packets - from Christoph Csebits
| author | gthomas |
|---|---|
| date | Wed, 04 Feb 2004 14:14:55 +0000 |
| parents | 111c2191e6f5 |
| children | af696e5657f1 |
| files | packages/devs/eth/powerpc/fcc/current/ChangeLog packages/devs/eth/powerpc/fcc/current/src/if_fcc.c packages/devs/eth/powerpc/quicc2/current/ChangeLog packages/devs/eth/powerpc/quicc2/current/src/if_fec.c |
| diffstat | 4 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/devs/eth/powerpc/fcc/current/ChangeLog +++ b/packages/devs/eth/powerpc/fcc/current/ChangeLog @@ -1,3 +1,8 @@ +2004-02-03 Christoph Csebits <christoph.csebits@frequentis.com> + + * src/if_fcc.c (fcc_eth_can_send): Fix: check also if + buffer was freed by the upper layer (txdone was called). + 2003-11-07 Gary Thomas <gary@mlbassoc.com> * src/if_fcc.c (fcc_eth_init): Improve messages, add device name.
--- a/packages/devs/eth/powerpc/fcc/current/src/if_fcc.c +++ b/packages/devs/eth/powerpc/fcc/current/src/if_fcc.c @@ -413,7 +413,7 @@ fcc_eth_can_send(struct eth_drv_sc *sc) } #endif - return ((txbd->ctrl & FCC_BD_Tx_Ready) == 0); + return ((txbd->ctrl & (FCC_BD_Tx_TC | FCC_BD_Tx_Ready)) == 0); } //
--- a/packages/devs/eth/powerpc/quicc2/current/ChangeLog +++ b/packages/devs/eth/powerpc/quicc2/current/ChangeLog @@ -1,3 +1,8 @@ +2004-02-03 Christoph Csebits <christoph.csebits@frequentis.com> + + * src/if_fcc.c (fcc_eth_can_send): Fix: check also if + buffer was freed by the upper layer (txdone was called). + 2003-03-04 Paul Fine <pfine@delcomsys.com> * src/EnetPHY.c : Added PHY reset function for the ts6 platform.
--- a/packages/devs/eth/powerpc/quicc2/current/src/if_fec.c +++ b/packages/devs/eth/powerpc/quicc2/current/src/if_fec.c @@ -476,7 +476,7 @@ fec_eth_can_send(struct eth_drv_sc *sc) } #endif - return ((txbd->ctrl & FEC_BD_Tx_Ready) == 0); + return ((txbd->ctrl & (FCC_BD_Tx_TC | FCC_BD_Tx_Ready)) == 0); } //
