summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net
Commit message (Collapse)AuthorAgeFilesLines
...
* generic: ar8216: set chip type directly in ar8216_id_chipjuhosg2012-03-081-14/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: simplify ar8216_config_initjuhosg2012-03-081-22/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: move port initialization into a separate functionjuhosg2012-03-071-24/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: improve ar8216_wait_bit functionjuhosg2012-03-071-9/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use ar8216_read_port_link to get the CPU port link parametersjuhosg2012-03-071-3/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use the generic get_port_link implementationjuhosg2012-03-071-56/+48
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367: use the generic get_port_link implementationjuhosg2012-03-071-47/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366s: use the generic get_port_link implementationjuhosg2012-03-071-50/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366rb: use the generic get_port_link implementationjuhosg2012-03-071-50/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: swconfig: add a generic get_port_link implementationjuhosg2012-03-071-0/+79
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use mdiobus_write in ar8236_hw_initjuhosg2012-03-071-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}juhosg2012-03-071-8/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: fix phy driver namejuhosg2012-03-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] revert unrelated change in previous commitjow2012-02-271-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] partly revert r30708, it breaks various archesjow2012-02-271-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: add rtl8366_smi_write_reg_noack helperjuhosg2012-01-214-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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] rtl8366: fix rtl8366_smi_detect() after r29677jow2012-01-131-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: use vlan configuration for connecting ports (forced to be untagged) ↵nbd2012-01-121-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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: do not strip vlan tags when running with vlan_enable=0nbd2012-01-121-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add driver for the RTL8367R/M switchesjuhosg2012-01-071-0/+1825
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: preparing for RTL8367 supportjuhosg2012-01-074-9/+17
| | | | | | | | * make clock delay configurable * make read,write commands configurable * use u16 for member and untag fields git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366_smi: add timeout messagejuhosg2012-01-071-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: swconfig: introduce a generic switch LED triggerjuhosg2011-12-312-0/+362
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: ar8216: add support for the AR8236 switchjuhosg2011-11-122-4/+87
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: ar8216: move port vlan setup into a separate functionjuhosg2011-11-121-16/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: swconfig: add a missing unlock in error pathjuhosg2011-11-041-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: use mdiobus_{read,write} to ensure proper lockingjogo2011-10-111-17/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: jumbo frames support for rtl8366sjuhosg2011-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add support for get link statusjuhosg2011-08-151-0/+62
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Add generic switch identifiersjogo2011-07-273-7/+32
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8366_smi: implement a function for detecting whether the attached switch ↵nbd2011-07-241-11/+69
| | | | | | is RTL8366S or RTL8366RB git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8366: unify rtl8366s and rtl8366rb platform datanbd2011-07-242-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH v3] (respin) 802.1Q VLAN support for ADM6996M/ADM6996FCblogic2011-05-092-30/+653
| | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8316: automatically detect whether port4 is used as PHY or as a switch portnbd2011-04-281-32/+61
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: support AR8316 rev 0 devicesnbd2011-04-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCKnbd2011-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366{s,rb}: remove the PHY driver.juhosg2011-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26600 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8306: do not overwrite registers in the phy fixup, it could mess up other ↵nbd2011-04-021-0/+6
| | | | | | switches (fixes #8911) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366s: allow initial register values to be passed via platform_datajuhosg2011-01-261-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: fix build errorjuhosg2011-01-091-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: enable vlans before enabling the portsjuhosg2011-01-084-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: enable ports only after VLAN configuration is donejuhosg2011-01-084-8/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: add enable_port helperjuhosg2011-01-083-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366_smi: init VLANs only in first switch initializationjuhosg2011-01-081-10/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366s: use correct bitmasks in sanity checksjuhosg2011-01-081-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366s: add vlan fid supportjuhosg2011-01-081-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: add debugfs file for VLAN4K tablejuhosg2011-01-082-0/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366rb: use correct bitmasks in sanity checksjuhosg2011-01-081-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add rtl8366rb switch vlan fid supportjuhosg2010-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] fix mvswitch PHY polling setting (#8133)florian2010-11-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23862 3c298f89-4303-0410-b956-a3cf2f4a3e73