Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | generic: rtl8366{s,rb}: remove the PHY driver. | Gabor Juhos | 2011-04-12 | 1 | -52/+1 |
| | | | | | | | | | | Since the PHY driver is only used for the WAN port and there is virtually no difference between it and the generic PHY driver, we can sefely remove it. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 26600 | ||||
* | generic: rtl8366: enable vlans before enabling the ports | Gabor Juhos | 2011-01-08 | 1 | -0/+4 |
| | | | | SVN-Revision: 24939 | ||||
* | generic: rtl8366: enable ports only after VLAN configuration is done | Gabor Juhos | 2011-01-08 | 1 | -4/+5 |
| | | | | SVN-Revision: 24938 | ||||
* | generic: rtl8366: add enable_port helper | Gabor Juhos | 2011-01-08 | 1 | -0/+7 |
| | | | | SVN-Revision: 24937 | ||||
* | generic: rtl8366rb: use correct bitmasks in sanity checks | Gabor Juhos | 2011-01-08 | 1 | -4/+4 |
| | | | | SVN-Revision: 24930 | ||||
* | generic: add rtl8366rb switch vlan fid support | Gabor Juhos | 2010-11-24 | 1 | -7/+14 |
| | | | | | | | | | | | Allows to use fids 0 to 7. Default is 0. Those who will use this don't forget to `set vlan fid` every time after `set vlan ports` if you want non default behavior. Minor changes. Version bump. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 24125 | ||||
* | rt8366*: use __devinit instead of __init for the probe function to fix a ↵ | Felix Fietkau | 2010-10-21 | 1 | -1/+1 |
| | | | | | | section mismatch SVN-Revision: 23573 | ||||
* | generic: RTL8366S/RB: Fix autonegotiation for the WAN port. | Gabor Juhos | 2010-09-27 | 1 | -0/+5 |
| | | | | | | | | | | | | 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 | ||||
* | generic: rtl8366: allow use of VIDs 16-4095 if vlan4k is enabled | Gabor Juhos | 2010-08-18 | 1 | -2/+7 |
| | | | | SVN-Revision: 22704 | ||||
* | generic: rtl8366: add generic code to enable VLANs | Gabor Juhos | 2010-08-18 | 1 | -42/+4 |
| | | | | SVN-Revision: 22703 | ||||
* | generic: rtl8366: add enable_vlan{,4k} to smi_ops | Gabor Juhos | 2010-08-18 | 1 | -4/+6 |
| | | | | SVN-Revision: 22702 | ||||
* | generic: fix LED control on the RTL8366 switches | Gabor Juhos | 2010-08-15 | 1 | -1/+1 |
| | | | | | | * patch from #7713 SVN-Revision: 22656 | ||||
* | rtl8366: re-enable learning by default, disabling it broke switching ↵ | Felix Fietkau | 2010-08-08 | 1 | -4/+46 |
| | | | | | | 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 | 1 | -8/+6 |
| | | | | | | 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 | ||||
* | generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions | Gabor Juhos | 2010-07-15 | 1 | -53/+2 |
| | | | | SVN-Revision: 22204 | ||||
* | generic: rtl8366: add common rtl8366_sw_get_vlan_info | Gabor Juhos | 2010-07-15 | 1 | -42/+1 |
| | | | | SVN-Revision: 22203 | ||||
* | generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k | Gabor Juhos | 2010-07-15 | 1 | -4/+4 |
| | | | | SVN-Revision: 22202 | ||||
* | generic: rtl8366: add is_vlan_valid function to smi_ops | Gabor Juhos | 2010-07-15 | 1 | -3/+12 |
| | | | | SVN-Revision: 22201 | ||||
* | generic: rtl8366: add common rtl8366_sw_get_port_mib function | Gabor Juhos | 2010-07-15 | 1 | -34/+1 |
| | | | | SVN-Revision: 22200 | ||||
* | generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions | Gabor Juhos | 2010-07-15 | 1 | -4/+5 |
| | | | | SVN-Revision: 22199 | ||||
* | generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions | Gabor Juhos | 2010-07-15 | 1 | -14/+2 |
| | | | | SVN-Revision: 22197 | ||||
* | generic: rtl8366: add setup to rtl8366_smi_ops struct | Gabor Juhos | 2010-07-15 | 1 | -4/+2 |
| | | | | SVN-Revision: 22196 | ||||
* | generic: rtl8366: introduce rtl8366_smi_alloc | Gabor Juhos | 2010-07-15 | 1 | -3/+1 |
| | | | | SVN-Revision: 22195 | ||||
* | generic: rtl8366: get rid of private rtl8366{s,rb} structs | Gabor Juhos | 2010-07-15 | 1 | -42/+21 |
| | | | | SVN-Revision: 22194 | ||||
* | generic: rtl8366: move switch device to the rtl8366_smi struct | Gabor Juhos | 2010-07-15 | 1 | -11/+4 |
| | | | | SVN-Revision: 22193 | ||||
* | generic: rtl8366: get rid of private vlan_{mc,4k} structs | Gabor Juhos | 2010-07-15 | 1 | -155/+71 |
| | | | | | | | | 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 | 1 | -12/+4 |
| | | | | SVN-Revision: 22191 | ||||
* | generic: rtl8366: enable VLAN ingress filtering | Gabor Juhos | 2010-07-02 | 1 | -0/+8 |
| | | | | SVN-Revision: 22044 | ||||
* | generic: rtl8366: minor cleanup | Gabor Juhos | 2010-06-28 | 1 | -14/+11 |
| | | | | SVN-Revision: 21985 | ||||
* | generic: rtl8366: add common read_debugfs_mibs function | Gabor Juhos | 2010-06-28 | 1 | -72/+0 |
| | | | | SVN-Revision: 21984 | ||||
* | generic: rtl8366: standardize read_debugfs_mibs functions | Gabor Juhos | 2010-06-28 | 1 | -12/+21 |
| | | | | SVN-Revision: 21983 | ||||
* | generic: rtl8366: use common rtl8366_mib_counter structure | Gabor Juhos | 2010-06-28 | 1 | -40/+34 |
| | | | | SVN-Revision: 21982 | ||||
* | generic: rtl8366: move common debugfs code to rtl8366_smi.c | Gabor Juhos | 2010-06-28 | 1 | -167/+9 |
| | | | | SVN-Revision: 21981 | ||||
* | generic: rtl8366: move buf to struct rtl8366_smi | Gabor Juhos | 2010-06-28 | 1 | -36/+32 |
| | | | | SVN-Revision: 21980 | ||||
* | generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c | Gabor Juhos | 2010-06-28 | 1 | -205/+4 |
| | | | | SVN-Revision: 21979 | ||||
* | generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi | Gabor Juhos | 2010-06-28 | 1 | -10/+13 |
| | | | | SVN-Revision: 21978 | ||||
* | generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops | Gabor Juhos | 2010-06-28 | 1 | -18/+25 |
| | | | | SVN-Revision: 21977 | ||||
* | generic: rtl8366: use RTL8366{S,RB} prefixes for all defines | Gabor Juhos | 2010-06-28 | 1 | -236/+236 |
| | | | | 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 | 1 | -0/+1797 |
SVN-Revision: 21952 |