3 Commits (7819b530da5e6b23ee61a2dc2da02529b71b82ce)

Author SHA1 Message Date
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 15 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