aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
Commit message (Collapse)AuthorAgeFilesLines
* generic: add driver for the RTL8367R/M switchesGabor Juhos2012-01-072-0/+1883
| | | | SVN-Revision: 29678
* generic: rtl8366: preparing for RTL8367 supportGabor Juhos2012-01-074-9/+17
| | | | | | | | * make clock delay configurable * make read,write commands configurable * use u16 for member and untag fields SVN-Revision: 29677
* generic: rtl8366_smi: add timeout messageGabor Juhos2012-01-071-2/+4
| | | | SVN-Revision: 29676
* kernel: swconfig: introduce a generic switch LED triggerGabor Juhos2011-12-313-0/+367
| | | | SVN-Revision: 29627
* kernel: swconfig: add get_port_{link,stats} callbacksGabor Juhos2011-12-311-0/+26
| | | | SVN-Revision: 29625
* ath9k: add support for registering extra leds connected to the wmac gpio linesFelix Fietkau2011-12-141-0/+3
| | | | SVN-Revision: 29530
* kernel: move linux/ath9k_platform.h to generic files so that it can be ↵Felix Fietkau2011-12-131-0/+37
| | | | | | reused from other targets SVN-Revision: 29516
* kernel: ar8216: add support for the AR8236 switchGabor Juhos2011-11-122-4/+87
| | | | SVN-Revision: 28993
* kernel: ar8216: move port vlan setup into a separate functionGabor Juhos2011-11-121-16/+28
| | | | SVN-Revision: 28992
* kernel: swconfig: add a missing unlock in error pathGabor Juhos2011-11-041-1/+3
| | | | SVN-Revision: 28753
* ar8216: use mdiobus_{read,write} to ensure proper lockingJonas Gorski2011-10-111-17/+17
| | | | SVN-Revision: 28421
* generic: jumbo frames support for rtl8366sGabor Juhos2011-09-211-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
* generic: ar8216: add support for get link statusGabor Juhos2011-08-151-0/+62
| | | | SVN-Revision: 27989
* swconfig: Add generic switch identifiersJonas Gorski2011-07-274-11/+39
| | | | | | | | 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 Fietkau2011-07-242-11/+77
| | | | | | is RTL8366S or RTL8366RB SVN-Revision: 27755
* rtl8366: unify rtl8366s and rtl8366rb platform dataFelix Fietkau2011-07-244-33/+14
| | | | SVN-Revision: 27754
* ocf-linux: version bump to 20110720Hauke Mehrtens2011-07-2432-491/+4100
| | | | | | | | | | | | | | | Fixes problem with TFM allocation in cryptosoft.c Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Hauke: * remove ubsec_ssb package and take it from ocf-linux * use patches from ocf-linux package * refresh all patches * readd some build fixes for OpenWrt. * readd CRYPTO_MANAGER dependency SVN-Revision: 27753
* generic: add rt2x00_platform.hGabor Juhos2011-07-031-0/+19
| | | | SVN-Revision: 27390
* fix the gpio_dev driver: remove existing forward port patches, use ↵Felix Fietkau2011-07-011-3/+3
| | | | | | 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 Crispin2011-06-091-2/+2
| | | | SVN-Revision: 27143
* (respin) 802.1Q VLAN support for ADM6996M/ADM6996FCJohn Crispin2011-05-093-30/+763
| | | | | | | | | | | | | | | | | | | 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 portFelix Fietkau2011-04-281-32/+61
| | | | SVN-Revision: 26778
* ar8216: support AR8316 rev 0 devicesFelix Fietkau2011-04-281-0/+1
| | | | SVN-Revision: 26776
* swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCKFelix Fietkau2011-04-261-1/+1
| | | | | | | | | 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 Juhos2011-04-122-104/+2
| | | | | | | | | | 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 Fietkau2011-04-021-0/+6
| | | | | | switches (fixes #8911) SVN-Revision: 26410
* kernel: the cryptosoft module of ocf needs cryptoapi manager support (for ↵Felix Fietkau2011-04-021-0/+1
| | | | | | blkcipher, hash) SVN-Revision: 26402
* kernel: linux/version.h was removed in kernel 2.6.19 and is now replaced by ↵Hauke Mehrtens2011-03-1916-32/+80
| | | | | | | | | | generated/autoconf.h. This fixes build with kernel 2.6.38. This was only build tested. Thank you philipp64 for reporting SVN-Revision: 26237
* generic: rtl8366s: allow initial register values to be passed via platform_dataGabor Juhos2011-01-262-0/+18
| | | | SVN-Revision: 25120
* generic: rtl8366: fix build errorGabor Juhos2011-01-091-2/+2
| | | | SVN-Revision: 24943
* generic: rtl8366: enable vlans before enabling the portsGabor Juhos2011-01-084-1/+11
| | | | SVN-Revision: 24939
* generic: rtl8366: enable ports only after VLAN configuration is doneGabor Juhos2011-01-084-8/+30
| | | | SVN-Revision: 24938
* generic: rtl8366: add enable_port helperGabor Juhos2011-01-083-0/+15
| | | | SVN-Revision: 24937
* generic: rtl8366_smi: init VLANs only in first switch initializationGabor Juhos2011-01-081-10/+30
| | | | SVN-Revision: 24936
* generic: rtl8366s: use correct bitmasks in sanity checksGabor Juhos2011-01-081-4/+4
| | | | SVN-Revision: 24935
* generic: rtl8366s: add vlan fid supportGabor Juhos2011-01-081-0/+7
| | | | SVN-Revision: 24934
* generic: rtl8366: add debugfs file for VLAN4K tableGabor Juhos2011-01-082-0/+60
| | | | SVN-Revision: 24933
* generic: rtl8366rb: use correct bitmasks in sanity checksGabor Juhos2011-01-081-4/+4
| | | | SVN-Revision: 24930
* generic: add LED trigger for USB device presence/activityGabor Juhos2010-12-171-0/+348
| | | | SVN-Revision: 24646
* kernel: fix cryptodev with kernel >= 2.6.35Hauke Mehrtens2010-12-061-2/+8
| | | | | | | | The fix is from http://sourceforge.net/mailarchive/forum.php?thread_name=20100906035717.GA7562%40mcafee.com&forum_name=ocf-linux-users Thank you tripolar for reporting the issue and finding a solution for it. SVN-Revision: 24286
* generic: add rtl8366rb switch vlan fid supportGabor Juhos2010-11-243-7/+66
| | | | | | | | | | | 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 driverGabor Juhos2010-11-121-39/+55
| | | | SVN-Revision: 23984
* fix mvswitch PHY polling setting (#8133)Florian Fainelli2010-11-041-1/+1
| | | | SVN-Revision: 23862
* rt8366*: use __devinit instead of __init for the probe function to fix a ↵Felix Fietkau2010-10-212-2/+2
| | | | | | section mismatch SVN-Revision: 23573
* unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", ↵Jo-Philipp Wich2010-10-124-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
* cryptodev: Compilefix on 2.6.36Michael Büsch2010-10-071-0/+2
| | | | SVN-Revision: 23290
* generic: RTL8366S/RB: Fix autonegotiation for the WAN port.Gabor Juhos2010-09-272-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 supportGabor Juhos2010-09-271-0/+210
| | | | | | Patch-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 23126
* add switch driver for Lantiq PSB6970Florian Fainelli2010-09-041-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 Fietkau2010-08-311-0/+9
| | | | | | that the VLAN MC entry gets allocated. Fixes problems with tagged-only ports (#7795) SVN-Revision: 22856