aboutsummaryrefslogtreecommitdiffstats
path: root/package/swconfig/src/swlib.h
Commit message (Collapse)AuthorAgeFilesLines
* swconfig: Add generic switch identifiersJonas Gorski2011-07-271-1/+2
| | | | | | | | Also make switches available under a generic name "switch<num>" for device name agnostic access. The old device name is used as an alias for backward compatibility. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Add cpu port index to help output.Gabor Juhos2010-04-161-0/+1
| | | | | | | | | | | | | | Let swconfig provide the cpu port index in its help page. This is needed as e.g. Atheros switches have their cpu port at port 0, not port 5. This could allow e.g. luci to get a rough overview of the layout of the switch. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: implement uci loading supportFelix Fietkau2009-04-211-1/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add new switch configuration apiFelix Fietkau2008-10-181-0/+213
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13009 3c298f89-4303-0410-b956-a3cf2f4a3e73