ralink: fix hw status almost full not work on mt7620 and mt7621
[openwrt.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / soc_rt2880.c
index 4346731..715221b 100644 (file)
@@ -63,9 +63,9 @@ struct fe_soc_data rt2880_data = {
        .fwd_config = rt2880_fwd_config,
        .pdma_glo_cfg = FE_PDMA_SIZE_8DWORDS,
        .checksum_bit = RX_DMA_L4VALID,
-       .tx_udf_bit = TX_DMA_UDF,
        .rx_int = FE_RX_DONE_INT,
        .tx_int = FE_TX_DONE_INT,
+       .status_int = FE_CNT_GDM_AF,
        .mdio_read = rt2880_mdio_read,
        .mdio_write = rt2880_mdio_write,
        .mdio_adjust_link = rt2880_mdio_link_adjust,