commit | 0884965939b759042f88604422c3f6a85edcae12 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Wed Jul 19 17:16:54 2023 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 03 09:40:50 2023 -0400 |
tree | 419e0164d5c8b6ffc6226bab3fcd5af060efbaf8 | |
parent | 7815b2bc7b3f089a85b9f6c65c2ff25907acf5cb [diff] |
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