summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include/linux/switch.h
Commit message (Collapse)AuthorAgeFilesLines
* [swconfig] allow loading port maps from OFblogic2013-04-091-0/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: disintegrate UAPI from include/linux/switch.hjuhosg2012-12-141-81/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: use a mutex instead of a spinlock, many swconfig calls sleepnbd2012-03-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: swconfig: add a generic get_port_link implementationjuhosg2012-03-071-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: swconfig: introduce a generic switch LED triggerjuhosg2011-12-311-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: swconfig: add get_port_{link,stats} callbacksjuhosg2011-12-311-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Add generic switch identifiersjogo2011-07-271-4/+7
| | | | | | | | 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: cleanup of kernel drivers and interfacenbd2010-08-041-12/+41
| | | | | | | | - add some comments to a few data structures - add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy - get rid of the switch_dev.priv pointer - using container_of() is better git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename target/linux/generic-2.6 to genericnbd2010-06-261-0/+172
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73