summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers
Commit message (Collapse)AuthorAgeFilesLines
...
* generic: ar8216: add a separate structure for chip specific stuffGabor Juhos2012-03-181-0/+16
| | | | | | Also add a hw_init function into that. SVN-Revision: 30997
* generic: ar8216: rename chip field of struct ar8216Gabor Juhos2012-03-181-20/+20
| | | | SVN-Revision: 30996
* generic: ar8216: move ar8216_id_chip functionGabor Juhos2012-03-181-52/+51
| | | | | | Also remove the inline annotation. SVN-Revision: 30995
* generic: ar8216: rename ar8216_ops to ar8216_sw_opsGabor Juhos2012-03-181-2/+2
| | | | SVN-Revision: 30994
* swconfig: use a mutex instead of a spinlock, many swconfig calls sleepFelix Fietkau2012-03-151-5/+5
| | | | SVN-Revision: 30952
* ar8216: fix a MTU related regressionFelix Fietkau2012-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. SVN-Revision: 30951
* ar71xx: move micrel PHY driver to the generic linux targetGabor Juhos2012-03-151-0/+83
| | | | SVN-Revision: 30946
* generic: ar8216: merge multiple if statements in ar8216_hw_applyGabor Juhos2012-03-131-10/+4
| | | | SVN-Revision: 30928
* generic: ar8216: use usleep_range in ar8216_mii_{read,write}Gabor Juhos2012-03-111-2/+2
| | | | | | msleep(1) can sleep for up to 20ms. SVN-Revision: 30885
* generic: ar8216: add a helper function for writing PHY debug registersGabor Juhos2012-03-111-6/+15
| | | | SVN-Revision: 30884
* generic: ar8216: add lockep assertion to ar8216_rmwGabor Juhos2012-03-111-0/+3
| | | | SVN-Revision: 30883
* generic: ar8216: coding style cleanupGabor Juhos2012-03-081-23/+24
| | | | SVN-Revision: 30857
* generic: ar8216: don't use static variable in ar8236_hw_initGabor Juhos2012-03-081-3/+2
| | | | SVN-Revision: 30856
* generic: ar8216: move register inititalization into hw_initGabor Juhos2012-03-081-18/+25
| | | | SVN-Revision: 30855
* generic: ar8216: set chip type directly in ar8216_id_chipGabor Juhos2012-03-081-14/+18
| | | | SVN-Revision: 30854
* generic: ar8216: simplify ar8216_config_initGabor Juhos2012-03-081-22/+15
| | | | SVN-Revision: 30853
* generic: ar8216: move port initialization into a separate functionGabor Juhos2012-03-071-24/+31
| | | | SVN-Revision: 30848
* generic: ar8216: improve ar8216_wait_bit functionGabor Juhos2012-03-071-9/+14
| | | | SVN-Revision: 30847
* generic: ar8216: use ar8216_read_port_link to get the CPU port link parametersGabor Juhos2012-03-071-3/+20
| | | | SVN-Revision: 30846
* generic: ar8216: use the generic get_port_link implementationGabor Juhos2012-03-071-56/+48
| | | | SVN-Revision: 30845
* generic: rtl8367: use the generic get_port_link implementationGabor Juhos2012-03-071-47/+28
| | | | SVN-Revision: 30844
* generic: rtl8366s: use the generic get_port_link implementationGabor Juhos2012-03-071-50/+32
| | | | SVN-Revision: 30843
* generic: rtl8366rb: use the generic get_port_link implementationGabor Juhos2012-03-071-50/+32
| | | | SVN-Revision: 30842
* generic: swconfig: add a generic get_port_link implementationGabor Juhos2012-03-071-0/+79
| | | | SVN-Revision: 30839
* generic: ar8216: use mdiobus_write in ar8236_hw_initGabor Juhos2012-03-071-4/+4
| | | | SVN-Revision: 30838
* generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}Gabor Juhos2012-03-071-8/+19
| | | | SVN-Revision: 30837
* generic: ar8216: fix phy driver nameGabor Juhos2012-03-071-1/+1
| | | | SVN-Revision: 30836
* revert unrelated change in previous commitJo-Philipp Wich2012-02-271-1/+0
| | | | SVN-Revision: 30738
* partly revert r30708, it breaks various archesJo-Philipp Wich2012-02-271-0/+1
| | | | SVN-Revision: 30737
* generic: allow to build myloader mtd parser for 3.2+Gabor Juhos2012-01-221-3/+11
| | | | SVN-Revision: 29858
* generic: rtl8366: add rtl8366_smi_write_reg_noack helperGabor Juhos2012-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. SVN-Revision: 29844
* rtl8366: fix rtl8366_smi_detect() after r29677Jo-Philipp Wich2012-01-131-0/+3
| | | | SVN-Revision: 29732
* ar8216: use vlan configuration for connecting ports (forced to be untagged) ↵Felix Fietkau2012-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 SVN-Revision: 29719
* ar8216: do not strip vlan tags when running with vlan_enable=0Felix Fietkau2012-01-121-3/+6
| | | | SVN-Revision: 29718
* generic: add driver for the RTL8367R/M switchesGabor Juhos2012-01-071-0/+1825
| | | | 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-312-0/+362
| | | | SVN-Revision: 29627
* 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-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. SVN-Revision: 27800
* rtl8366_smi: implement a function for detecting whether the attached switch ↵Felix Fietkau2011-07-241-11/+69
| | | | | | is RTL8366S or RTL8366RB SVN-Revision: 27755
* rtl8366: unify rtl8366s and rtl8366rb platform dataFelix Fietkau2011-07-242-5/+5
| | | | SVN-Revision: 27754
* 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-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> SVN-Revision: 26865