bnx: NIC based TX rings are only applicable to chips before 5705
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 28 Mar 2013 09:53:32 +0000 (17:53 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 28 Mar 2013 09:53:32 +0000 (17:53 +0800)
sys/dev/netif/bnx/if_bnx.c

index 1cd2315..9830da8 100644 (file)
@@ -911,7 +911,6 @@ bnx_init_tx_ring(struct bnx_tx_ring *txr)
        /* Initialize transmit producer index for host-memory send ring. */
        bnx_writembx(txr->bnx_sc, BGE_MBX_TX_HOST_PROD0_LO,
            txr->bnx_tx_prodidx);
-       bnx_writembx(txr->bnx_sc, BGE_MBX_TX_NIC_PROD0_LO, 0);
 
        return(0);
 }