forked from Imagelibrary/rtems
GRETH: remove TCP/UDP HW checksum generation
The GRETH doesn't support IP fragments.
This commit is contained in:
@@ -814,9 +814,9 @@ sendpacket_gbit (struct ifnet *ifp, struct mbuf *m)
|
|||||||
|
|
||||||
/* Wrap around? */
|
/* Wrap around? */
|
||||||
if (dp->tx_ptr < dp->txbufs-1) {
|
if (dp->tx_ptr < dp->txbufs-1) {
|
||||||
ctrl = GRETH_TXD_ENABLE | GRETH_TXD_CS;
|
ctrl = GRETH_TXD_ENABLE;
|
||||||
}else{
|
}else{
|
||||||
ctrl = GRETH_TXD_ENABLE | GRETH_TXD_CS | GRETH_TXD_WRAP;
|
ctrl = GRETH_TXD_ENABLE | GRETH_TXD_WRAP;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Enable Descriptor */
|
/* Enable Descriptor */
|
||||||
|
|||||||
Reference in New Issue
Block a user