summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: ag71xx: add BQL supportjuhosg2012-02-101-5/+13
| | | | | | | | It will be usable only from linux-3.3. Based on a patch by Dave Taht <dave.taht@bufferbloat.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add preliminary support for 3.3juhosg2012-02-101-0/+294
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge 3.2 fixesjuhosg2012-02-109-74/+102
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge files-3.2 to filesjuhosg2012-02-1010-0/+3895
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use dynamically allocated partitions in wrt160nl_partjuhosg2012-01-311-4/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move arch specific files to files-2.6.39juhosg2012-01-2217-6213/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wrt160nl_part: include module.h and fix compiler warningsjuhosg2012-01-221-3/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: tplinkpart: include module.hjuhosg2012-01-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename vsc7385 spi driverjuhosg2012-01-221-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename ap81 spi driverjuhosg2012-01-221-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename rb4xx spi driversjuhosg2012-01-222-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename the nxp_74hc153 driverjuhosg2012-01-221-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: include linux/module.h in the micrel phy driverjuhosg2012-01-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: pb44_spi: add shutdown handlerjuhosg2012-01-111-0/+10
| | | | | | This allows to access the flash from a kexec'd kernel. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/removejuhosg2012-01-111-6/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpersjuhosg2012-01-111-8/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar71xx_spi: add shutdown handlerjuhosg2012-01-111-0/+10
| | | | | | This allows to access the flash from a kexec'd kernel. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar71xx_spi: save and restore regs from probe/removejuhosg2012-01-111-17/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar71xx_wdt: add shutdown handlerjuhosg2012-01-111-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix sections mismatch warnings in the nand driversjuhosg2012-01-052-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: implement get_port_{link,stats} callbacksjuhosg2011-12-311-0/+142
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set a reserved bit that resets to 1 when writing the address table ↵nbd2011-12-221-0/+2
| | | | | | control register on the ar7240 switch (should fix #10547) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix switch port setup for AR934Xjuhosg2011-12-151-11/+41
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934Xjuhosg2011-12-151-3/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: setup switch interface mode on AR934Xjuhosg2011-12-151-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: detect the built-in switch of the AR934X SoCsjuhosg2011-12-151-12/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: introduce ar71xx_switch_datajuhosg2011-12-152-5/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: tplinkpart: allow to detect JFFS2 as welljuhosg2011-12-151-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: check PHY IDs before accessing the switch registersjuhosg2011-12-151-9/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724xjuhosg2011-12-151-13/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: nuke ar7240sw_initjuhosg2011-12-151-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: check squashfs signature in TP-Link mtd parserjuhosg2011-12-051-1/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add mtd partition parser for the TP-Link boardsjuhosg2011-12-031-0/+165
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR71XX_ prefix to GPIO_REG_* definesjuhosg2011-11-141-36/+40
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge nand scan patchjuhosg2011-11-142-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: add support for getting switch port link statusjuhosg2011-11-131-0/+67
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29017 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xxjuhosg2011-11-132-19/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove unused mii_cfg related functions and definesjuhosg2011-11-131-40/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set MII interface speed from the set_speed callbacksjuhosg2011-11-131-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename set_pll callback to set_speed in ag71xx_platform_datajuhosg2011-11-131-2/+2
| | | | | | Also rename the corresponding callback functions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: remove MII interface setup codejuhosg2011-11-132-15/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use fixed link parameters if the mii bus is not registeredjuhosg2011-11-121-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove dead codenbd2011-11-081-15/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: on ar7240, exclude ports from their own port vlan destination masknbd2011-11-081-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: close a race between the phy state machine and link statejogo2011-10-081-3/+7
| | | | | | | | | | | A fast stop/start cycle could leave the ag71xx interrupts and tx engine disabled when using a phy driver with a fixed link and the start/stop happens between two phy state machine polls. Prevent this by always forcing the link down on stop regardless of phy state and having a phy connected. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)nbd2011-09-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add some code to detect DMA stuck conditions on ar7240nbd2011-08-132-1/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: on ar724x only reset the link status in the restart handler, the ↵nbd2011-08-131-0/+6
| | | | | | fast reset takes care of DMA stuck issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet FIFO state corruption on ar7240nbd2011-08-042-20/+61
| | | | | | | | | When starting/stopping DMA sometimes the FIFO state gets corrupted, leading to wildly fluctuating latencies or packet data corruption. Fix this by issuing a fast MAC reset as soon as the link is detected as up. Fixes #9689, #9405 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: fix memory corruption issues on ar7240 on ethernet start/stopnbd2011-08-042-3/+19
| | | | | | | | | | | When the DMA engine state gets corrupted due to a hardware issues, it often won't stop rx until a full reset is issued. In that case the hardware must keep a valid descriptor, otherwise it will write to random places in system RAM, triggering random crashes. To fix this, keep a dummy descriptor without a buffer that keeps the DMA engine in a sane state until the reset is done git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27895 3c298f89-4303-0410-b956-a3cf2f4a3e73