Skip to content
Commit c73d3871 authored by Weijie Gao's avatar Weijie Gao Committed by Tom Rini
Browse files

net: mediatek: connect switch to PSE only when starting eth is requested



So far the switch is initialized in probe stage and is connected to PSE
unconditionally. This will cause all packets being flooded to PSE and may
cause PSE hang before entering linux.

This patch changes the connection between switch and PSE:
- Still initialize switch in probe stage, but disconnect it with PSE
- Connect switch with PSE on eth start
- Disconnect on eth stop

Signed-off-by: default avatarWeijie Gao <weijie.gao@mediatek.com>
parent e34cf6fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment