/* This function mark all Rx descriptors as LAST_BD.  */
void hif_rx_desc_disable(void)
/* This function mark all Rx descriptors as LAST_BD.  */
void hif_rx_desc_disable(void)
{
	int i;
	struct rx_desc_s *rx_desc;
	struct buf_desc *bd_va;
	if (!g_rx_desc) {
		printf("%s: HIF Rx desc not initialized\n", __func__);
		return;
	}
	rx_desc = g_rx_desc;
	bd_va = rx_desc->rx_base;
	for (i = 0; i < rx_desc->rx_ring_size; i++) {
		writel(readl(&bd_va->ctrl) | BD_CTRL_LAST_BD, &bd_va->ctrl);
		bd_va++;
	}
}