[PATCH 2/2] realtek: add RTL821X_CHIP_ID

Bjørn Mork bjorn at mork.no
Sat Apr 27 01:16:47 PDT 2024


stijn at linux-ipv6.be writes:

>  	phy_write_paged(phydev, 31, 27, 0x0002);
>  	val = phy_read_paged(phydev, 31, 28);
..
>  	phy_write_paged(phydev, 0x1f, 0x1b, 0x0002);
>  	val = phy_read_paged(phydev, 0x1f, 0x1c);


While you're doing spring cleaning....  That piece of cut-n-paste code
looks very funny.



Bjørn



More information about the openwrt-devel mailing list