35 Commits (9cad70044f750e299caf77fdea93ecccc66c6cfc)

Author SHA1 Message Date
Felix Fietkau ed3860c3e3 swconfig: convert swdevs_lock from spinlock to mutex 7 years ago
Hauke Mehrtens b3f95490b9 kernel: generic: Add kernel 4.14 support 7 years ago
Alexander Couzens 878cd77026 linux/swconfig_get_attr: fix leak of msg in case of error 7 years ago
Pavel Kubelun 5a69f59602 net: ar8216: address security vulnerabilities in swconfig & ar8216 8 years ago
John Crispin 99a1888287 swconfig: revert the portmapping patches, they seem to cause a segfault 8 years ago
John Crispin 675407baa4 kernel/swconfig: remove obsolete portmapping feature from swconfig 8 years ago
Felix Fietkau 37cfc23cb7 kernel: require admin permissions for swconfig set operations 8 years ago
Jo-Philipp Wich 442db0d6d8 kernel: deny swconfig set requests for unprivileged users 8 years ago
Felix Fietkau 7eeb254cc4 treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
Rafał Miłecki 19b9e14c47 swconfig: add (PHY) generic helper setting port link 9 years ago
Jonas Gorski a9b4952be1 swconfig: simplify init code 9 years ago
Jonas Gorski 38719ecca4 swconfig: drop linux < 3.13 code paths 9 years ago
Rafał Miłecki 5f69279dd6 swconfig: add API for setting port link speed 9 years ago
John Crispin 71cd537a8a swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINK 9 years ago
John Crispin 67e10d757f swconfig: add SWITCH_TYPE_LINK and support sending link info to user space 9 years ago
John Crispin 57c7bed820 swconfig: fix build with linux 4.0 10 years ago
Felix Fietkau 53c0c6054f ar8216: add 802.3az EEE info to swconfig get_link attribute 10 years ago
John Crispin 62107ff367 swconfig: last vs tail 10 years ago
John Crispin ab5d70e046 swconfig: "swconfig list" shows devices in reverse order 10 years ago
Hauke Mehrtens 100e795bcc kernel: fix warning in swconfig.c with kernel 3.14 11 years ago
Zoltan Herpai f3c07b8621 modules: swconfig.c: update the error path on 3.13, and behave nicely with return 11 years ago
Zoltan Herpai 4d26250db1 modules: update swconfig.c to compile on 3.13 (compile-tested) 11 years ago
Florian Fainelli 857a7a0124 kernel: make swconfig checkpath compliant 11 years ago
John Crispin fb47fd0d6b unbreak portmapping - typo fix 12 years ago
John Crispin fff58a5801 allow loading port maps from OF 12 years ago
Gabor Juhos 10d30f2d2d swconfig: make it compatible with 3.7 12 years ago
Florian Fainelli 4afb91a12f swconfig: get rid of the NLA_PUT_* macros 12 years ago
Felix Fietkau b957208807 swconfig: use a mutex instead of a spinlock, many swconfig calls sleep 13 years ago
Gabor Juhos 759c341e68 generic: swconfig: add a generic get_port_link implementation 13 years ago
Gabor Juhos 5fa65cba6e kernel: swconfig: introduce a generic switch LED trigger 13 years ago
Gabor Juhos 297ac9a7f1 kernel: swconfig: add a missing unlock in error path 13 years ago
Jonas Gorski eaa935658b swconfig: Add generic switch identifiers 13 years ago
Felix Fietkau 9e8cd78944 swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK 14 years ago
Felix Fietkau bd6324190f swconfig: cleanup of kernel drivers and interface - 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 14 years ago
Felix Fietkau da1bb88a2b rename target/linux/generic-2.6 to generic 14 years ago
Gabor Juhos e8c46b8a2a swconfig: fix lock imbalance in unregister_switch() 15 years ago
Gabor Juhos 3165ea7886 swconfig: release switch in error path of swconfig_get_attr 15 years ago
Gabor Juhos c0c0a60718 swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED 15 years ago
Gabor Juhos f7cc3d576c swconfig: Add cpu port index to help output. 15 years ago
Florian Fainelli fba1a0a074 swconfig: Check vlan/port indexes for validity. 15 years ago
Felix Fietkau 8ec2ad91ad swconfig: add a generic switch reset call 16 years ago
Felix Fietkau f6f55bae7d swconfig: add a generic method for setting the port primary vlan id (used for transparently fixing up pvid for untagged port when setting vlan ports) 16 years ago
Felix Fietkau 787e9fcf93 swconfig: treat struct switch_attr as constant 16 years ago
Felix Fietkau cd80e16a80 swconfig: remove old debugging stuff 16 years ago
Felix Fietkau 1e570a9288 change the way ./files* and the generic kernel files are applied. ./files now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers. 16 years ago
Felix Fietkau 487c622ac0 add new switch configuration api 16 years ago