summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/swconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* swconfig: make it compatible with 3.7Gabor Juhos2012-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> SVN-Revision: 34288
* swconfig: get rid of the NLA_PUT_* macrosFlorian Fainelli2012-10-241-17/+33
| | | | | | | Upstream kernel 3.6 has removed this usage, use the plain functions directly as intended. SVN-Revision: 33906
* swconfig: use a mutex instead of a spinlock, many swconfig calls sleepFelix Fietkau2012-03-151-5/+5
| | | | SVN-Revision: 30952
* generic: swconfig: add a generic get_port_link implementationGabor Juhos2012-03-071-0/+79
| | | | SVN-Revision: 30839
* kernel: swconfig: introduce a generic switch LED triggerGabor Juhos2011-12-311-0/+8
| | | | SVN-Revision: 29627
* kernel: swconfig: add a missing unlock in error pathGabor Juhos2011-11-041-1/+3
| | | | SVN-Revision: 28753
* swconfig: Add generic switch identifiersJonas Gorski2011-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. SVN-Revision: 27800
* swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCKFelix Fietkau2011-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> SVN-Revision: 26770
* swconfig: cleanup of kernel drivers and interface - add some comments to a ↵Felix Fietkau2010-08-041-25/+29
| | | | | | 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 SVN-Revision: 22476
* rename target/linux/generic-2.6 to genericFelix Fietkau2010-06-261-0/+925
SVN-Revision: 21952