[OpenWrt-Devel] [PATCH] swconfig: support setting SWITCH_TYPE_LINK attributes

Stefan Rompf stefan at loplof.de
Tue Jan 5 16:47:29 EST 2016

Hi Rafał,

> Supported syntax is inspired by ethtool. Example usage:
> swconfig dev switch0 port 2 set link "duplex half speed 100 autoneg off"
> Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>

I think that's the way to go, will try implementing set_port_link() for my 
good old 1043ND.

Ack for this and the kernel patches.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list