summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/swconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* [ramips] unbreak portmapping - typo fixblogic2013-04-091-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [swconfig] allow loading port maps from OFblogic2013-04-091-0/+73
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: make it compatible with 3.7juhosg2012-11-211-3/+3
| | | | | | | | | | | | | | | | | | | swconfig does not compile with 3.7 because struct netlink_notify->pid has been renamed to struct netlink_notify->portid and struct genl_info->snd_pid has been renamed to struct genl_info->snd_portid Use the new names and add compatibility patches to 3.3 and 3.6. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] swconfig: get rid of the NLA_PUT_* macrosflorian2012-10-241-17/+33
| | | | | | | Upstream kernel 3.6 has removed this usage, use the plain functions directly as intended. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: use a mutex instead of a spinlock, many swconfig calls sleepnbd2012-03-151-5/+5
| | | | 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/+79
| | | | 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/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: swconfig: add a missing unlock in error pathjuhosg2011-11-041-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Add generic switch identifiersjogo2011-07-271-5/+30
| | | | | | | | 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: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCKnbd2011-04-261-1/+1
| | | | | | | | | SPIN_LOCK_UNLOCKED has been deprecated since 2.6.19 and will get removed in 2.6.39, so replace it with DEFINE_SPINLOCK(). Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: cleanup of kernel drivers and interfacenbd2010-08-041-25/+29
| | | | | | | | - 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/+925
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73