Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | generic: update gpio_buttons driver | Gabor Juhos | 2010-11-12 | 1 | -39/+55 |
| | | | | SVN-Revision: 23984 | ||||
* | fix mvswitch PHY polling setting (#8133) | Florian Fainelli | 2010-11-04 | 1 | -1/+1 |
| | | | | SVN-Revision: 23862 | ||||
* | rt8366*: use __devinit instead of __init for the probe function to fix a ↵ | Felix Fietkau | 2010-10-21 | 2 | -2/+2 |
| | | | | | | section mismatch SVN-Revision: 23573 | ||||
* | unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", ↵ | Jo-Philipp Wich | 2010-10-12 | 4 | -7/+7 |
| | | | | | | IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. SVN-Revision: 23419 | ||||
* | generic: RTL8366S/RB: Fix autonegotiation for the WAN port. | Gabor Juhos | 2010-09-27 | 2 | -0/+10 |
| | | | | | | | | | | | | The RTL8366S/RB support connecting a second mac to it and using the 5th port as an independent phy. Therefore we need to handle autonegotiation changes for phy 4 like on a single phy device. This fixes #7980, verified on a WNDR3700. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 23127 | ||||
* | generic: add rtl8366rb switch port rate, port and qos enable/disable support | Gabor Juhos | 2010-09-27 | 1 | -0/+210 |
| | | | | | | Patch-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 23126 | ||||
* | add switch driver for Lantiq PSB6970 | Florian Fainelli | 2010-09-04 | 1 | -0/+438 |
| | | | | | | | | Tested on ifxmips based board. The PSB6970 is also known as the Infineon Tantos switch. Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> SVN-Revision: 22914 | ||||
* | rtl8366_smi: when setting VLAN ports, always initialize the PVID to ensure ↵ | Felix Fietkau | 2010-08-31 | 1 | -0/+9 |
| | | | | | | that the VLAN MC entry gets allocated. Fixes problems with tagged-only ports (#7795) SVN-Revision: 22856 | ||||
* | generic: rtl8366: allow use of VIDs 16-4095 if vlan4k is enabled | Gabor Juhos | 2010-08-18 | 2 | -4/+14 |
| | | | | SVN-Revision: 22704 | ||||
* | generic: rtl8366: add generic code to enable VLANs | Gabor Juhos | 2010-08-18 | 4 | -84/+95 |
| | | | | SVN-Revision: 22703 | ||||
* | generic: rtl8366: add enable_vlan{,4k} to smi_ops | Gabor Juhos | 2010-08-18 | 3 | -8/+14 |
| | | | | SVN-Revision: 22702 | ||||
* | generic: fix LED control on the RTL8366 switches | Gabor Juhos | 2010-08-15 | 2 | -2/+2 |
| | | | | | | * patch from #7713 SVN-Revision: 22656 | ||||
* | rtl8366: re-enable learning by default, disabling it broke switching ↵ | Felix Fietkau | 2010-08-08 | 2 | -8/+92 |
| | | | | | | functionality. add a configuration option for dynamically enabling/disabling this feature. based on patch from #7637 SVN-Revision: 22545 | ||||
* | swconfig: cleanup of kernel drivers and interface - add some comments to a ↵ | Felix Fietkau | 2010-08-04 | 6 | -177/+183 |
| | | | | | | 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 | ||||
* | ip17xx: r21709 broke VLAN functionality on the IP175C switch, add back ↵ | Jo-Philipp Wich | 2010-08-03 | 1 | -0/+1 |
| | | | | | | mdelay() to wait before reading back the phy state, fixes ethernet on the DIR-300 and possibly others SVN-Revision: 22468 | ||||
* | pwm: export the generic pwm api as module | Claudio Mignanti | 2010-07-19 | 1 | -1/+1 |
| | | | | SVN-Revision: 22297 | ||||
* | generic: rtl8366: add debugfs file to show PVIDs | Gabor Juhos | 2010-07-15 | 1 | -0/+42 |
| | | | | SVN-Revision: 22206 | ||||
* | generic: rtl8366: make rtl8366_set_vlan static | Gabor Juhos | 2010-07-15 | 2 | -5/+2 |
| | | | | SVN-Revision: 22205 | ||||
* | generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions | Gabor Juhos | 2010-07-15 | 4 | -106/+57 |
| | | | | SVN-Revision: 22204 | ||||
* | generic: rtl8366: add common rtl8366_sw_get_vlan_info | Gabor Juhos | 2010-07-15 | 4 | -84/+47 |
| | | | | SVN-Revision: 22203 | ||||
* | generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k | Gabor Juhos | 2010-07-15 | 2 | -8/+8 |
| | | | | SVN-Revision: 22202 | ||||
* | generic: rtl8366: add is_vlan_valid function to smi_ops | Gabor Juhos | 2010-07-15 | 3 | -6/+25 |
| | | | | SVN-Revision: 22201 | ||||
* | generic: rtl8366: add common rtl8366_sw_get_port_mib function | Gabor Juhos | 2010-07-15 | 4 | -68/+39 |
| | | | | SVN-Revision: 22200 | ||||
* | generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions | Gabor Juhos | 2010-07-15 | 2 | -8/+10 |
| | | | | SVN-Revision: 22199 | ||||
* | generic: rtl8366: make rtl8366_{g,s}et_pvid static | Gabor Juhos | 2010-07-15 | 2 | -44/+41 |
| | | | | SVN-Revision: 22198 | ||||
* | generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions | Gabor Juhos | 2010-07-15 | 4 | -28/+21 |
| | | | | SVN-Revision: 22197 | ||||
* | generic: rtl8366: add setup to rtl8366_smi_ops struct | Gabor Juhos | 2010-07-15 | 4 | -8/+11 |
| | | | | SVN-Revision: 22196 | ||||
* | generic: rtl8366: introduce rtl8366_smi_alloc | Gabor Juhos | 2010-07-15 | 4 | -9/+20 |
| | | | | SVN-Revision: 22195 | ||||
* | generic: rtl8366: get rid of private rtl8366{s,rb} structs | Gabor Juhos | 2010-07-15 | 2 | -84/+42 |
| | | | | SVN-Revision: 22194 | ||||
* | generic: rtl8366: move switch device to the rtl8366_smi struct | Gabor Juhos | 2010-07-15 | 3 | -22/+15 |
| | | | | SVN-Revision: 22193 | ||||
* | generic: rtl8366: get rid of private vlan_{mc,4k} structs | Gabor Juhos | 2010-07-15 | 2 | -277/+148 |
| | | | | | | | | The usage of bitfields causes problems in Little-Endian mode. Remove them and manipulate the bits directly in the appropriate functions. This change also reduces the size of the binary a bit. SVN-Revision: 22192 | ||||
* | generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes | Gabor Juhos | 2010-07-15 | 2 | -23/+7 |
| | | | | SVN-Revision: 22191 | ||||
* | pwm: use coherent naming to avoid conflicts | Claudio Mignanti | 2010-07-12 | 2 | -1/+1 |
| | | | | SVN-Revision: 22142 | ||||
* | generic: rtl8366: enable VLAN ingress filtering | Gabor Juhos | 2010-07-02 | 2 | -0/+15 |
| | | | | SVN-Revision: 22044 | ||||
* | generic: rtl8366: minor cleanup | Gabor Juhos | 2010-06-28 | 2 | -22/+16 |
| | | | | SVN-Revision: 21985 | ||||
* | generic: rtl8366: add common read_debugfs_mibs function | Gabor Juhos | 2010-06-28 | 3 | -144/+56 |
| | | | | SVN-Revision: 21984 | ||||
* | generic: rtl8366: standardize read_debugfs_mibs functions | Gabor Juhos | 2010-06-28 | 3 | -22/+44 |
| | | | | SVN-Revision: 21983 | ||||
* | generic: rtl8366: use common rtl8366_mib_counter structure | Gabor Juhos | 2010-06-28 | 3 | -48/+42 |
| | | | | SVN-Revision: 21982 | ||||
* | generic: rtl8366: move common debugfs code to rtl8366_smi.c | Gabor Juhos | 2010-06-28 | 4 | -335/+193 |
| | | | | SVN-Revision: 21981 | ||||
* | generic: rtl8366: move buf to struct rtl8366_smi | Gabor Juhos | 2010-06-28 | 3 | -72/+66 |
| | | | | SVN-Revision: 21980 | ||||
* | generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c | Gabor Juhos | 2010-06-28 | 4 | -410/+217 |
| | | | | SVN-Revision: 21979 | ||||
* | generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi | Gabor Juhos | 2010-06-28 | 3 | -20/+30 |
| | | | | SVN-Revision: 21978 | ||||
* | generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops | Gabor Juhos | 2010-06-28 | 3 | -43/+69 |
| | | | | SVN-Revision: 21977 | ||||
* | generic: rtl8366: use RTL8366{S,RB} prefixes for all defines | Gabor Juhos | 2010-06-28 | 2 | -403/+403 |
| | | | | SVN-Revision: 21976 | ||||
* | generic: rtl8366rb: fix MIB counter reset | Gabor Juhos | 2010-06-27 | 1 | -10/+8 |
| | | | | SVN-Revision: 21969 | ||||
* | rename target/linux/generic-2.6 to generic | Felix Fietkau | 2010-06-26 | 23 | -0/+12282 |
SVN-Revision: 21952 |