Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | generic: ar8216: move port initialization into a separate function | Gabor Juhos | 2012-03-07 | 1 | -24/+31 |
| | | | | SVN-Revision: 30848 | ||||
* | generic: ar8216: improve ar8216_wait_bit function | Gabor Juhos | 2012-03-07 | 1 | -9/+14 |
| | | | | SVN-Revision: 30847 | ||||
* | generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters | Gabor Juhos | 2012-03-07 | 1 | -3/+20 |
| | | | | SVN-Revision: 30846 | ||||
* | generic: ar8216: use the generic get_port_link implementation | Gabor Juhos | 2012-03-07 | 1 | -56/+48 |
| | | | | SVN-Revision: 30845 | ||||
* | generic: rtl8367: use the generic get_port_link implementation | Gabor Juhos | 2012-03-07 | 1 | -47/+28 |
| | | | | SVN-Revision: 30844 | ||||
* | generic: rtl8366s: use the generic get_port_link implementation | Gabor Juhos | 2012-03-07 | 1 | -50/+32 |
| | | | | SVN-Revision: 30843 | ||||
* | generic: rtl8366rb: use the generic get_port_link implementation | Gabor Juhos | 2012-03-07 | 1 | -50/+32 |
| | | | | SVN-Revision: 30842 | ||||
* | generic: swconfig: add a generic get_port_link implementation | Gabor Juhos | 2012-03-07 | 2 | -0/+81 |
| | | | | SVN-Revision: 30839 | ||||
* | generic: ar8216: use mdiobus_write in ar8236_hw_init | Gabor Juhos | 2012-03-07 | 1 | -4/+4 |
| | | | | SVN-Revision: 30838 | ||||
* | generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write} | Gabor Juhos | 2012-03-07 | 1 | -8/+19 |
| | | | | SVN-Revision: 30837 | ||||
* | generic: ar8216: fix phy driver name | Gabor Juhos | 2012-03-07 | 1 | -1/+1 |
| | | | | SVN-Revision: 30836 | ||||
* | revert unrelated change in previous commit | Jo-Philipp Wich | 2012-02-27 | 1 | -1/+0 |
| | | | | SVN-Revision: 30738 | ||||
* | partly revert r30708, it breaks various arches | Jo-Philipp Wich | 2012-02-27 | 1 | -0/+1 |
| | | | | SVN-Revision: 30737 | ||||
* | generic: add disable_[25]ghz to struct rt2x00_platform_data | Gabor Juhos | 2012-02-18 | 1 | -0/+3 |
| | | | | SVN-Revision: 30630 | ||||
* | generic: add WPE72 ID to myloader.h | Gabor Juhos | 2012-01-26 | 1 | -0/+1 |
| | | | | | | Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com> SVN-Revision: 29911 | ||||
* | generic: allow to build myloader mtd parser for 3.2+ | Gabor Juhos | 2012-01-22 | 1 | -3/+11 |
| | | | | SVN-Revision: 29858 | ||||
* | generic: rtl8366: add rtl8366_smi_write_reg_noack helper | Gabor Juhos | 2012-01-21 | 4 | -6/+28 |
| | | | | | | | | | After issuing a soft reset on the RT8366{S,RB} switch, waiting for the last acknowlegement fails in rtl8366_smi_write_reg. Add a _noack version of the function and use that for issuing a soft reset. SVN-Revision: 29844 | ||||
* | kernel: fix OCF for linux 3.2 | Jonas Gorski | 2012-01-19 | 8 | -10/+19 |
| | | | | | | Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it. SVN-Revision: 29818 | ||||
* | rtl8366: fix rtl8366_smi_detect() after r29677 | Jo-Philipp Wich | 2012-01-13 | 1 | -0/+3 |
| | | | | SVN-Revision: 29732 | ||||
* | ar8216: use vlan configuration for connecting ports (forced to be untagged) ↵ | Felix Fietkau | 2012-01-12 | 1 | -1/+7 |
| | | | | | | even with vlan_enable=0, but keep them isolated before the switch has been configured this makes enable_vlan=0 practical for vlan passthrough SVN-Revision: 29719 | ||||
* | ar8216: do not strip vlan tags when running with vlan_enable=0 | Felix Fietkau | 2012-01-12 | 1 | -3/+6 |
| | | | | SVN-Revision: 29718 | ||||
* | generic: add driver for the RTL8367R/M switches | Gabor Juhos | 2012-01-07 | 2 | -0/+1883 |
| | | | | SVN-Revision: 29678 | ||||
* | generic: rtl8366: preparing for RTL8367 support | Gabor Juhos | 2012-01-07 | 4 | -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 message | Gabor Juhos | 2012-01-07 | 1 | -2/+4 |
| | | | | SVN-Revision: 29676 | ||||
* | kernel: swconfig: introduce a generic switch LED trigger | Gabor Juhos | 2011-12-31 | 3 | -0/+367 |
| | | | | SVN-Revision: 29627 | ||||
* | kernel: swconfig: add get_port_{link,stats} callbacks | Gabor Juhos | 2011-12-31 | 1 | -0/+26 |
| | | | | SVN-Revision: 29625 | ||||
* | ath9k: add support for registering extra leds connected to the wmac gpio lines | Felix Fietkau | 2011-12-14 | 1 | -0/+3 |
| | | | | SVN-Revision: 29530 | ||||
* | kernel: move linux/ath9k_platform.h to generic files so that it can be ↵ | Felix Fietkau | 2011-12-13 | 1 | -0/+37 |
| | | | | | | reused from other targets SVN-Revision: 29516 | ||||
* | kernel: ar8216: add support for the AR8236 switch | Gabor Juhos | 2011-11-12 | 2 | -4/+87 |
| | | | | SVN-Revision: 28993 | ||||
* | kernel: ar8216: move port vlan setup into a separate function | Gabor Juhos | 2011-11-12 | 1 | -16/+28 |
| | | | | SVN-Revision: 28992 | ||||
* | kernel: swconfig: add a missing unlock in error path | Gabor Juhos | 2011-11-04 | 1 | -1/+3 |
| | | | | SVN-Revision: 28753 | ||||
* | ar8216: use mdiobus_{read,write} to ensure proper locking | Jonas Gorski | 2011-10-11 | 1 | -17/+17 |
| | | | | SVN-Revision: 28421 | ||||
* | 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 | ||||
* | generic: ar8216: add support for get link status | Gabor Juhos | 2011-08-15 | 1 | -0/+62 |
| | | | | SVN-Revision: 27989 | ||||
* | swconfig: Add generic switch identifiers | Jonas Gorski | 2011-07-27 | 4 | -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 Fietkau | 2011-07-24 | 2 | -11/+77 |
| | | | | | | is RTL8366S or RTL8366RB SVN-Revision: 27755 | ||||
* | rtl8366: unify rtl8366s and rtl8366rb platform data | Felix Fietkau | 2011-07-24 | 4 | -33/+14 |
| | | | | SVN-Revision: 27754 | ||||
* | ocf-linux: version bump to 20110720 | Hauke Mehrtens | 2011-07-24 | 32 | -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.h | Gabor Juhos | 2011-07-03 | 1 | -0/+19 |
| | | | | SVN-Revision: 27390 | ||||
* | fix the gpio_dev driver: remove existing forward port patches, use ↵ | Felix Fietkau | 2011-07-01 | 1 | -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 Crispin | 2011-06-09 | 1 | -2/+2 |
| | | | | SVN-Revision: 27143 | ||||
* | (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC | John Crispin | 2011-05-09 | 3 | -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 port | Felix Fietkau | 2011-04-28 | 1 | -32/+61 |
| | | | | SVN-Revision: 26778 | ||||
* | ar8216: support AR8316 rev 0 devices | Felix Fietkau | 2011-04-28 | 1 | -0/+1 |
| | | | | SVN-Revision: 26776 | ||||
* | swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK | Felix Fietkau | 2011-04-26 | 1 | -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 Juhos | 2011-04-12 | 2 | -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 Fietkau | 2011-04-02 | 1 | -0/+6 |
| | | | | | | switches (fixes #8911) SVN-Revision: 26410 | ||||
* | kernel: the cryptosoft module of ocf needs cryptoapi manager support (for ↵ | Felix Fietkau | 2011-04-02 | 1 | -0/+1 |
| | | | | | | blkcipher, hash) SVN-Revision: 26402 | ||||
* | kernel: linux/version.h was removed in kernel 2.6.19 and is now replaced by ↵ | Hauke Mehrtens | 2011-03-19 | 16 | -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_data | Gabor Juhos | 2011-01-26 | 2 | -0/+18 |
| | | | | SVN-Revision: 25120 |