/* Mark the given read buffer descriptor as free  */
static void fec_rbd_clean(int last, struct fec_bd *pRbd)
/* Mark the given read buffer descriptor as free  */
static void fec_rbd_clean(int last, struct fec_bd *pRbd)
{
	if (last)
		writew(FEC_RBD_WRAP | FEC_RBD_EMPTY, &pRbd->status);
	else
		writew(FEC_RBD_EMPTY, &pRbd->status);
	writew(0, &pRbd->data_length);
}