History log of /openwrt/package/network/config/swconfig/src/swlib.c
Revision Date Author Comments
# 5f8010ad 07-Jun-2016 Felix Fietkau <nbd@nbd.name>

treewide: fix replace nbd@openwrt.org with nbd@nbd.name

Signed-off-by: Felix Fietkau <nbd@nbd.name>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a53ba8a0 03-Feb-2016 Rafał Miłecki <zajec5@gmail.com>

swconfig: support setting SWITCH_TYPE_LINK attributes

Supported syntax is inspired by ethtool. Example usages:
swconfig dev switch0 port 2 set link "duplex half speed 100"
swconfig dev switch0 port 2 set link "autoneg on"

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48624 3c298f89-4303-0410-b956-a3cf2f4a3e73


# bab5b754 06-Jan-2016 Rafał Miłecki <zajec5@gmail.com>

swconfig: support sending SWITCH_TYPE_LINK to kernel

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48141 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3752e143 23-Dec-2015 John Crispin <blogic@openwrt.org>

swconfig: support receiving SWITCH_TYPE_LINK from kernel

When using cli, print link state the same way kernel used to do it.
This will allow kernel switching PORT_LINK from SWITCH_TYPE_STRING.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47998 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 18bd234d 08-Jul-2015 Felix Fietkau <nbd@openwrt.org>

swconfig: swlib.c: Fix another memleak

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46275 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9be1ee47 07-Jul-2015 John Crispin <blogic@openwrt.org>

swconfig: swlib.c: free name and description of attributes

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46232 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3f6787dd 07-Jul-2015 John Crispin <blogic@openwrt.org>

swconfig: swlib.c: free portmaps in swlib_free()

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46231 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7b458cc1 07-Jul-2015 John Crispin <blogic@openwrt.org>

swconfig: swlib.c: remove const qualifier for val.s since this is supposed to be free'd

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46230 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b0d7b73f 07-Jul-2015 John Crispin <blogic@openwrt.org>

swconfig: swlib.c: free device name and alias

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46229 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d7b08a20 27-Dec-2013 John Crispin <blogic@openwrt.org>

swconfig: remove useless variables, return -1 on errors

spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39170 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d0f94eff 09-Apr-2013 John Crispin <blogic@openwrt.org>

[swconfig] add portmap support to userland

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36284 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d2f8216c 09-Apr-2013 John Crispin <blogic@openwrt.org>

[swconfig] add "swconfig list" support

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36282 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 16ed01db 17-Oct-2012 John Crispin <blogic@openwrt.org>

[kernel] move lots of kernel related packages to the new system/ folder

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33830 3c298f89-4303-0410-b956-a3cf2f4a3e73