Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/de/if_de.c
Show First 20 Lines • Show All 3,914 Lines • ▼ Show 20 Lines | goto finish; | ||||
} | } | ||||
#endif | #endif | ||||
/* | /* | ||||
* Now we try to fill in our transmit descriptors. This is | * Now we try to fill in our transmit descriptors. This is | ||||
* a bit reminiscent of going on the Ark two by two | * a bit reminiscent of going on the Ark two by two | ||||
* since each descriptor for the TULIP can describe | * since each descriptor for the TULIP can describe | ||||
* two buffers. So we advance through packet filling | * two buffers. So we advance through packet filling | ||||
* each of the two entries at a time to to fill each | * each of the two entries at a time to fill each | ||||
* descriptor. Clear the first and last segment bits | * descriptor. Clear the first and last segment bits | ||||
* in each descriptor (actually just clear everything | * in each descriptor (actually just clear everything | ||||
* but the end-of-ring or chain bits) to make sure | * but the end-of-ring or chain bits) to make sure | ||||
* we don't get messed up by previously sent packets. | * we don't get messed up by previously sent packets. | ||||
* | * | ||||
* We may fail to put the entire packet on the ring if | * We may fail to put the entire packet on the ring if | ||||
* there is either not enough ring entries free or if the | * there is either not enough ring entries free or if the | ||||
* packet has more than MAX_TXSEG segments. In the former | * packet has more than MAX_TXSEG segments. In the former | ||||
▲ Show 20 Lines • Show All 1,088 Lines • Show Last 20 Lines |