bce: Don't mess w/ MQ_COMMAND on TX path; it seems useless
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 25 Nov 2012 12:57:57 +0000 (20:57 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 25 Nov 2012 12:57:57 +0000 (20:57 +0800)
Tested-with: 5706C, 5708C and 5709C

sys/dev/netif/bce/if_bce.c

index 71b0430..ca6e083 100644 (file)
@@ -5048,8 +5048,10 @@ bce_start(struct ifnet *ifp)
                return;
        }
 
+#if 0
        REG_WR(sc, BCE_MQ_COMMAND,
            REG_RD(sc, BCE_MQ_COMMAND) | BCE_MQ_COMMAND_NO_MAP_ERROR);
+#endif
 
        /* Start the transmit. */
        REG_WR16(sc, MB_GET_CID_ADDR(TX_CID) + BCE_L2CTX_TX_HOST_BIDX,