.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "MC32_FLUSH_TX_RING" "" "06 October 2005" "" "" .SH NAME mc32_flush_tx_ring \- free transmit ring .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void mc32_flush_tx_ring (struct net_device * \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP We have to consider two cases here. We want to free the pending buffers only. If the ring buffer head is past the start then the ring segment we wish to free wraps through zero. The tx ring house-keeping variables are then reset.