summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/files/drivers/net/phy/swconfig.c
Commit message (Collapse)AuthorAge
* rename target/linux/generic-2.6 to genericFelix Fietkau2010-06-26
| | | | SVN-Revision: 21952
* swconfig: fix lock imbalance in unregister_switch()Gabor Juhos2010-06-13
| | | | | | Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com> SVN-Revision: 21780
* swconfig: release switch in error path of swconfig_get_attrGabor Juhos2010-06-13
| | | | | | Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com> SVN-Revision: 21779
* swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGEDGabor Juhos2010-06-08
| | | | | | | | | SWITCH_PORT_FLAG_TAGGED is a bit index, not a bit mask. Signed-off-by: Martin Mares <mj@ucw.cz> Signed-off-by: Patrick Horn <patrick.horn@gmail.com> SVN-Revision: 21708
* swconfig: Add cpu port index to help output.Gabor Juhos2010-04-16
| | | | | | | | | | | | | Let swconfig provide the cpu port index in its help page. This is needed as e.g. Atheros switches have their cpu port at port 0, not port 5. This could allow e.g. luci to get a rough overview of the layout of the switch. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 20939
* swconfig: Check vlan/port indexes for validity.Florian Fainelli2010-04-11
| | | | | | | | | | | | Swconfig needs to make sure that requested vlans/ports actually exist, else it might read or modify memory not belonging to itself. This patch adds a quick range check in swconfig's kernel part to prevent accidential or intentional memory modification. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 20811
* swconfig: add a generic switch reset callFelix Fietkau2009-04-28
| | | | SVN-Revision: 15470
* swconfig: add a generic method for setting the port primary vlan id (used ↵Felix Fietkau2009-04-20
| | | | | | for transparently fixing up pvid for untagged port when setting vlan ports) SVN-Revision: 15307
* swconfig: treat struct switch_attr as constantFelix Fietkau2009-04-20
| | | | SVN-Revision: 15302
* swconfig: remove old debugging stuffFelix Fietkau2009-04-20
| | | | SVN-Revision: 15301
* change the way ./files* and the generic kernel files are applied. ./files ↵Felix Fietkau2008-10-18
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. SVN-Revision: 13010