Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | generic: jumbo frames support for rtl8366s | Gabor Juhos | 2011-09-21 | 1 | -0/+51 |
| | | | | | | | | | | | | | | This patch adds the option to enable jumbo frames on the rtl8366s switch. This is almost exactly the same as the first patch at https://dev.openwrt.org/ticket/7977 and it has been requested in a comment there. I have tested this and it successfully allows devices on the switch using jumbo frames to communicate. Signed-off-by: Ash Hughes <ashley.hughes@blueyonder.co.uk> SVN-Revision: 28267 | ||||
* | swconfig: Add generic switch identifiers | Jonas Gorski | 2011-07-27 | 1 | -1/+1 |
| | | | | | | | | Also make switches available under a generic name "switch<num>" for device name agnostic access. The old device name is used as an alias for backward compatibility. SVN-Revision: 27800 | ||||
* | rtl8366: unify rtl8366s and rtl8366rb platform data | Felix Fietkau | 2011-07-24 | 1 | -3/+3 |
| | | | | SVN-Revision: 27754 | ||||
* | 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: rtl8366s: allow initial register values to be passed via platform_data | Gabor Juhos | 2011-01-26 | 1 | -0/+11 |
| | | | | SVN-Revision: 25120 | ||||
* | 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: rtl8366s: use correct bitmasks in sanity checks | Gabor Juhos | 2011-01-08 | 1 | -4/+4 |
| | | | | SVN-Revision: 24935 | ||||
* | generic: rtl8366s: add vlan fid support | Gabor Juhos | 2011-01-08 | 1 | -0/+7 |
| | | | | SVN-Revision: 24934 | ||||
* | 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: 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 | -122/+77 |
| | | | | | | | | 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 | -11/+3 |
| | | | | SVN-Revision: 22191 | ||||
* | generic: rtl8366: enable VLAN ingress filtering | Gabor Juhos | 2010-07-02 | 1 | -0/+7 |
| | | | | SVN-Revision: 22044 | ||||
* | generic: rtl8366: minor cleanup | Gabor Juhos | 2010-06-28 | 1 | -8/+5 |
| | | | | SVN-Revision: 21985 | ||||
* | generic: rtl8366: add common read_debugfs_mibs function | Gabor Juhos | 2010-06-28 | 1 | -71/+0 |
| | | | | SVN-Revision: 21984 | ||||
* | generic: rtl8366: standardize read_debugfs_mibs functions | Gabor Juhos | 2010-06-28 | 1 | -10/+19 |
| | | | | SVN-Revision: 21983 | ||||
* | generic: rtl8366: use common rtl8366_mib_counter structure | Gabor Juhos | 2010-06-28 | 1 | -8/+1 |
| | | | | SVN-Revision: 21982 | ||||
* | generic: rtl8366: move common debugfs code to rtl8366_smi.c | Gabor Juhos | 2010-06-28 | 1 | -168/+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 | -167/+167 |
| | | | | SVN-Revision: 21976 | ||||
* | rename target/linux/generic-2.6 to generic | Felix Fietkau | 2010-06-26 | 1 | -0/+1785 |
SVN-Revision: 21952 |