summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers
Commit message (Collapse)AuthorAgeFilesLines
* [ar8216] fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433blogic2012-03-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add support for the AR8327 chipjuhosg2012-03-182-2/+464
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: allow to use more portsjuhosg2012-03-181-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: reorder chip specific functionsjuhosg2012-03-181-72/+72
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: reorder switch_dev specific functionsjuhosg2012-03-181-218/+216
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use ar8216_sw_ prefix for switchdev related functionsjuhosg2012-03-181-29/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use switch_dev->ports in for loopsjuhosg2012-03-181-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31006 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add read_port_status field to ar8xxx_chipjuhosg2012-03-181-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add init_globals field to ar8xxx_chipjuhosg2012-03-181-21/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add caps field to ar8xxx_chipjuhosg2012-03-181-5/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add vtu_load_vlan field to ar8xxx_chipjuhosg2012-03-181-4/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add vtu_flush field to ar8xxx_chipjuhosg2012-03-181-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add init_port field to ar8xxx_chipjuhosg2012-03-181-4/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add setup_port field to ar8xxx_chipjuhosg2012-03-181-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add hw_init field to ar8xxx_chipjuhosg2012-03-181-8/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add a separate structure for chip specific stuffjuhosg2012-03-181-0/+16
| | | | | | Also add a hw_init function into that. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename chip field of struct ar8216juhosg2012-03-181-20/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: move ar8216_id_chip functionjuhosg2012-03-181-52/+51
| | | | | | Also remove the inline annotation. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename ar8216_ops to ar8216_sw_opsjuhosg2012-03-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: use a mutex instead of a spinlock, many swconfig calls sleepnbd2012-03-151-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: fix a MTU related regressionnbd2012-03-151-19/+29
| | | | | | | | Switch reset on AR8316 appears to clobber the MTU configuration register and possibly other global config registers. Move global configuration register init writes back to the reset callback. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move micrel PHY driver to the generic linux targetjuhosg2012-03-151-0/+83
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: merge multiple if statements in ar8216_hw_applyjuhosg2012-03-131-10/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use usleep_range in ar8216_mii_{read,write}juhosg2012-03-111-2/+2
| | | | | | msleep(1) can sleep for up to 20ms. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add a helper function for writing PHY debug registersjuhosg2012-03-111-6/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add lockep assertion to ar8216_rmwjuhosg2012-03-111-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: coding style cleanupjuhosg2012-03-081-23/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: don't use static variable in ar8236_hw_initjuhosg2012-03-081-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: move register inititalization into hw_initjuhosg2012-03-081-18/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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: allow to build myloader mtd parser for 3.2+juhosg2012-01-221-3/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29858 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