Re: [PATCH 1/2] ath79: correct switch PHYs for GMAC0 in ar934x

2023-10-12 Thread Randy Li via openwrt-devel
0/12 13:59, Chuanhong Guo wrote: Hi! On Thu, Oct 12, 2023 at 5:02 AM Randy Li via openwrt-devel wrote: Subject: [PATCH 1/2] ath79: correct switch PHYs for GMAC0 in ar934x According to Ethernet Subsystem section of Functional Description chapter of the datasheet, when GMAC0 connects to the internal swi

[PATCH 0/2] ath79: correct dts for GMAC0 to SW PHY

2023-10-11 Thread Randy Li via openwrt-devel
ed-link { + speed = <100>; + full-duplex; + }; +}; + +ð1 { + status = "okay"; + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; + mac-address-increment = <0>; +}; Randy Li (2

[PATCH 2/2] [WIP]: ath79: remove confusing switch only

2023-10-11 Thread Randy Li via openwrt-devel
1 Ethernet Configuration means the GMAC0 didn't connect to switch, it is possible for AR9344 that GMAC0 connects to an external PHY. But it is not case of the most of devices here. Signed-off-by: Randy Li --- .../ath79/dts/ar9341_tplink_tl-wr842n-v2.dts | 4 target/

[PATCH 1/2] ath79: correct switch PHYs for GMAC0 in ar934x

2023-10-11 Thread Randy Li via openwrt-devel
Subsystem section of Functional Description chapter of the datasheet, when GMAC0 connects to the internal switch, it is MDC/MDIO of the GMAC0 decided which PHY it should talk to. Signed-off-by: Randy Li --- target/linux/ath79/dts/ar934x.dtsi | 31 +++--- 1 file changed, 16

[OpenWrt-Devel] if dnsmasq disable dns function, it won't send dns server setting in dhcp

2013-08-19 Thread Randy Li
My network has both ipv4 and ipv6, I use radvd to offer RA, and dnsmasq for ipv4 dhcp. My openwrt version is r37806. I want to use bind instead of dnsmasq, so I add port=0 /etc/dnsmasq.conf. Here is the contain of /var/etc/dnsmasq.conf # auto-generated config file from /etc/config/dhcp conf-file=/

[OpenWrt-Devel] New package, a cups backend for Canon capt printer

2013-08-15 Thread Randy Li
The package packaged the foo2capt http://sourceforge.net/projects/foo2capt/ . I have tested and it works. To know what it is used for, you can see link below https://help.ubuntu.com/community/CanonCaptDrv190 the patch part in the patch I sent is to fix compiling. Without you can't compile. I th