Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | generic: ar8216: add support for get link status | Gabor Juhos | 2011-08-15 | |
| | | | | SVN-Revision: 27989 | |||
* | swconfig: Add generic switch identifiers | Jonas Gorski | 2011-07-27 | |
| | | | | | | | | 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_smi: implement a function for detecting whether the attached switch ↵ | Felix Fietkau | 2011-07-24 | |
| | | | | | | is RTL8366S or RTL8366RB SVN-Revision: 27755 | |||
* | rtl8366: unify rtl8366s and rtl8366rb platform data | Felix Fietkau | 2011-07-24 | |
| | | | | SVN-Revision: 27754 | |||
* | fix the gpio_dev driver: remove existing forward port patches, use ↵ | Felix Fietkau | 2011-07-01 | |
| | | | | | | unlocked_ioctl on all platforms and fix the arguments to the ioctl handler (based on patch from #9198) SVN-Revision: 27322 | |||
* | we dont need 1024 bytes buffer. 128 bytes is enough. | John Crispin | 2011-06-09 | |
| | | | | SVN-Revision: 27143 | |||
* | (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC | John Crispin | 2011-05-09 | |
| | | | | | | | | | | | | | | | | | | | This patch adds 802.1Q VLAN support for the ADM6996M chip. The driver is loaded for both the FC and M model. It will detect which of the two chips is connected. The FC model is initialised, but no further functionality is offered. The PHY driver will always report "100 Mbit/s, link up", for both the M and FC models. This reflects the fact that the link between switch chip and Ethernet MAC is always on[1]. Further documentation can be found in the kernel's Documentation/networking/adm6996.txt Signed-of-By: Peter Lebbing <peter@digitalbrains.com> SVN-Revision: 26865 | |||
* | ar8316: automatically detect whether port4 is used as PHY or as a switch port | Felix Fietkau | 2011-04-28 | |
| | | | | SVN-Revision: 26778 | |||
* | ar8216: support AR8316 rev 0 devices | Felix Fietkau | 2011-04-28 | |
| | | | | SVN-Revision: 26776 | |||
* | swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK | Felix Fietkau | 2011-04-26 | |
| | | | | | | | | | SPIN_LOCK_UNLOCKED has been deprecated since 2.6.19 and will get removed in 2.6.39, so replace it with DEFINE_SPINLOCK(). Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 26770 | |||
* | generic: rtl8366{s,rb}: remove the PHY driver. | Gabor Juhos | 2011-04-12 | |
| | | | | | | | | | | 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 | |||
* | rtl8306: do not overwrite registers in the phy fixup, it could mess up other ↵ | Felix Fietkau | 2011-04-02 | |
| | | | | | | switches (fixes #8911) SVN-Revision: 26410 | |||
* | generic: rtl8366s: allow initial register values to be passed via platform_data | Gabor Juhos | 2011-01-26 | |
| | | | | SVN-Revision: 25120 | |||
* | generic: rtl8366: fix build error | Gabor Juhos | 2011-01-09 | |
| | | | | SVN-Revision: 24943 | |||
* | generic: rtl8366: enable vlans before enabling the ports | Gabor Juhos | 2011-01-08 | |
| | | | | SVN-Revision: 24939 | |||
* | generic: rtl8366: enable ports only after VLAN configuration is done | Gabor Juhos | 2011-01-08 | |
| | | | | SVN-Revision: 24938 | |||
* | generic: rtl8366: add enable_port helper | Gabor Juhos | 2011-01-08 | |
| | | | | SVN-Revision: 24937 | |||
* | generic: rtl8366_smi: init VLANs only in first switch initialization | Gabor Juhos | 2011-01-08 | |
| | | | | SVN-Revision: 24936 | |||
* | generic: rtl8366s: use correct bitmasks in sanity checks | Gabor Juhos | 2011-01-08 | |
| | | | | SVN-Revision: 24935 | |||
* | generic: rtl8366s: add vlan fid support | Gabor Juhos | 2011-01-08 | |
| | | | | SVN-Revision: 24934 | |||
* | generic: rtl8366: add debugfs file for VLAN4K table | Gabor Juhos | 2011-01-08 | |
| | | | | SVN-Revision: 24933 | |||
* | generic: rtl8366rb: use correct bitmasks in sanity checks | Gabor Juhos | 2011-01-08 | |
| | | | | SVN-Revision: 24930 | |||
* | generic: add LED trigger for USB device presence/activity | Gabor Juhos | 2010-12-17 | |
| | | | | SVN-Revision: 24646 | |||
* | generic: add rtl8366rb switch vlan fid support | Gabor Juhos | 2010-11-24 | |
| | | | | | | | | | | | 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 | |||
* | generic: update gpio_buttons driver | Gabor Juhos | 2010-11-12 | |
| | | | | SVN-Revision: 23984 | |||
* | fix mvswitch PHY polling setting (#8133) | Florian Fainelli | 2010-11-04 | |
| | | | | SVN-Revision: 23862 | |||
* | rt8366*: use __devinit instead of __init for the probe function to fix a ↵ | Felix Fietkau | 2010-10-21 | |
| | | | | | | section mismatch SVN-Revision: 23573 | |||
* | unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", ↵ | Jo-Philipp Wich | 2010-10-12 | |
| | | | | | | 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 | |
| | | | | | | | | | | | | 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 | |
| | | | | | | Patch-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 23126 | |||
* | add switch driver for Lantiq PSB6970 | Florian Fainelli | 2010-09-04 | |
| | | | | | | | | 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 | |
| | | | | | | 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 | |
| | | | | SVN-Revision: 22704 | |||
* | generic: rtl8366: add generic code to enable VLANs | Gabor Juhos | 2010-08-18 | |
| | | | | SVN-Revision: 22703 | |||
* | generic: rtl8366: add enable_vlan{,4k} to smi_ops | Gabor Juhos | 2010-08-18 | |
| | | | | SVN-Revision: 22702 | |||
* | generic: fix LED control on the RTL8366 switches | Gabor Juhos | 2010-08-15 | |
| | | | | | | * patch from #7713 SVN-Revision: 22656 | |||
* | rtl8366: re-enable learning by default, disabling it broke switching ↵ | Felix Fietkau | 2010-08-08 | |
| | | | | | | 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 | |
| | | | | | | 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 | |
| | | | | | | 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 | |
| | | | | SVN-Revision: 22297 | |||
* | generic: rtl8366: add debugfs file to show PVIDs | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22206 | |||
* | generic: rtl8366: make rtl8366_set_vlan static | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22205 | |||
* | generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22204 | |||
* | generic: rtl8366: add common rtl8366_sw_get_vlan_info | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22203 | |||
* | generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22202 | |||
* | generic: rtl8366: add is_vlan_valid function to smi_ops | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22201 | |||
* | generic: rtl8366: add common rtl8366_sw_get_port_mib function | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22200 | |||
* | generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22199 | |||
* | generic: rtl8366: make rtl8366_{g,s}et_pvid static | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22198 | |||
* | generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions | Gabor Juhos | 2010-07-15 | |
| | | | | SVN-Revision: 22197 |