aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/swconfig
Commit message (Collapse)AuthorAgeFilesLines
* swconfig: Split libsw out of swconfig for reuse in other packagesJohn Crispin2015-07-142-3/+15
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 46358
* swconfig: swlib.c: Fix another memleakFelix Fietkau2015-07-081-0/+3
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 46275
* swconfig: swlib.c: free name and description of attributesJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46232
* swconfig: swlib.c: free portmaps in swlib_free()John Crispin2015-07-072-1/+15
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46231
* swconfig: swlib.c: remove const qualifier for val.s since this is supposed ↵John Crispin2015-07-072-2/+2
| | | | | | | | to be free'd Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46230
* swconfig: swlib.c: free device name and aliasJohn Crispin2015-07-072-2/+4
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46229
* license info - revert r43155John Crispin2014-11-031-3/+0
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-0/+3
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43155
* Add a few SPDX tagsSteven Barth2014-11-021-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* package: swconfig: let variable name be localJohn Crispin2014-06-041-0/+1
| | | | | | | | | Let the first parameter of function config_get be local, because there is a chance that config_get won't export the variable. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 41000
* swconfig: improve usability when switch device incorrectJohn Crispin2014-01-121-1/+1
| | | | | | | | http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr <andim2@users.sf.net> SVN-Revision: 39229
* swconfig: remove useless variables, return -1 on errorsJohn Crispin2013-12-273-11/+2
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39170
* switch: remove old switch driverHauke Mehrtens2013-10-131-1/+1
| | | | | | | | | The switch driver is not used by brcm47xx any more and can be removed, instead of this switch driver b53 is used now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38387
* swconfig: fix dependency bug introduced by [37304]John Crispin2013-07-141-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37316
* brcm47xx: use b53 phy driver for the switch in kernel 3.10Hauke Mehrtens2013-07-141-1/+1
| | | | | | | | | | This makes it possible to use swconfig to controll the switch. This was tested with devices using b43 and bgmac. This was not tested on devices using tg3. This does not support the adm switch used in some very old devices. SVN-Revision: 37304
* add portmap support to userlandJohn Crispin2013-04-094-2/+95
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36284
* add "swconfig list" supportJohn Crispin2013-04-093-0/+41
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36282
* package/swconfig: don't use kernel headersGabor Juhos2012-12-141-2/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34679
* move lots of kernel related packages to the new system/ folderJohn Crispin2012-10-177-0/+1585
SVN-Revision: 33830