Commit 0066b66f authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

minic: hanging when TX FIFO gets full is a VERY BAD IDEA

parent adc11ade
......@@ -272,7 +272,7 @@ int minic_tx_frame(struct wr_ethhdr_vlan *hdr, uint8_t *payload, uint32_t size,
/* Start sending the frame, and while we read mcr check for fifo full */
mcr = minic_readl(MINIC_REG_MCR);
assert((mcr & MINIC_MCR_TX_FULL) == 0, "Minic tx fifo full");
assert_warn((mcr & MINIC_MCR_TX_FULL) == 0, "Minic tx fifo full");
minic_writel(MINIC_REG_MCR, mcr | MINIC_MCR_TX_START);
/* wait for the DMA to finish */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment