Răsfoiți Sursa

qlge: Do not change frame routing during suspend.

We do not need to change the frame routing to direct all frames to the
management fifo during suspend.  This is now done by the firmware.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Ron Mercer 15 ani în urmă
părinte
comite
4fc9b8697c
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  1. 0 3
      drivers/net/qlge/qlge_main.c

+ 0 - 3
drivers/net/qlge/qlge_main.c

@@ -3514,9 +3514,6 @@ int ql_wol(struct ql_adapter *qdev)
 	}
 	}
 
 
 	if (qdev->wol) {
 	if (qdev->wol) {
-		/* Reroute all packets to Management Interface */
-		ql_write32(qdev, MGMT_RCV_CFG, (MGMT_RCV_CFG_RM |
-			(MGMT_RCV_CFG_RM << 16)));
 		wol |= MB_WOL_MODE_ON;
 		wol |= MB_WOL_MODE_ON;
 		status = ql_mb_wol_mode(qdev, wol);
 		status = ql_mb_wol_mode(qdev, wol);
 		QPRINTK(qdev, DRV, ERR, "WOL %s (wol code 0x%x) on %s\n",
 		QPRINTK(qdev, DRV, ERR, "WOL %s (wol code 0x%x) on %s\n",