# Re: \[PATCH net-next\] net: dsa: rtl8365mb: add GMII as user port mode

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2021-12-15 02:36:46 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/12/11218891
- Thread: https://ratatoskr.run/netdev/2021/12/11218858/t.md

```text
On Tue, 14 Dec 2021 16:07:05 -0300 luizluca@gmail.com wrote:
> From: Luiz Angelo Daros de Luca <luizluca@gmail.com>
> 
> Recent net-next fails to initialize ports with:
> 
>  realtek-smi switch: phy mode gmii is unsupported on port 0
>  realtek-smi switch lan5 (uninitialized): validation of gmii with
>  support 0000000,00000000,000062ef and advertisement
>  0000000,00000000,000062ef failed: -22
>  realtek-smi switch lan5 (uninitialized): failed to connect to PHY:
>  -EINVAL
>  realtek-smi switch lan5 (uninitialized): error -22 setting up PHY
>  for tree 1, switch 0, port 0
> 
> Current net branch(3dd7d40b43663f58d11ee7a3d3798813b26a48f1) is not
> affected.
> 
> I also noticed the same issue before with older versions but using
> a MDIO interface driver, not realtek-smi.
> 
> Tested-by: Arınç ÜNAL <redacted>
> Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

Please use get_maintainer.pl to find appropriate reviewers, and repost
with them CCed.
```
