Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ar71xx: fix MII clock settings for various chips, improves ethernet ↵ | Felix Fietkau | 2012-05-27 | 2 | -2/+16 |
| | | | | | | stability on AR934x SVN-Revision: 31925 | ||||
* | ar71xx: remove AG71XX_RX_PKT_RESERVE, it is no longer necessary (found by ↵ | Felix Fietkau | 2012-05-15 | 1 | -2/+1 |
| | | | | | | Eric Dumazet) SVN-Revision: 31736 | ||||
* | kernel: rewrite the phy packet hook, put it in the network stack to avoid ↵ | Felix Fietkau | 2012-05-06 | 1 | -26/+14 |
| | | | | | | having to keep non-upstream ethernet driver changes SVN-Revision: 31637 | ||||
* | ar71xx: allow to disable link polling on unused PHYs | Gabor Juhos | 2012-04-29 | 1 | -4/+11 |
| | | | | SVN-Revision: 31533 | ||||
* | ar71xx: enable MIB counters in the built-in switch of the AR934x | Gabor Juhos | 2012-04-25 | 1 | -2/+11 |
| | | | | SVN-Revision: 31476 | ||||
* | ar71xx: move micrel PHY driver to the generic linux target | Gabor Juhos | 2012-03-15 | 1 | -83/+0 |
| | | | | SVN-Revision: 30946 | ||||
* | ar71xx: ag71xx: fix ARP frame reception on AR934x switch ports | Gabor Juhos | 2012-03-13 | 1 | -11/+35 |
| | | | | SVN-Revision: 30926 | ||||
* | ar71xx: ag71xx: start aneg on switch PHYs after reset | Gabor Juhos | 2012-03-13 | 1 | -0/+10 |
| | | | | SVN-Revision: 30925 | ||||
* | ar71xx: ag71xx: poll PHY status of all available switch ports | Gabor Juhos | 2012-03-13 | 1 | -1/+2 |
| | | | | SVN-Revision: 30924 | ||||
* | ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch | Gabor Juhos | 2012-03-13 | 1 | -2/+6 |
| | | | | SVN-Revision: 30923 | ||||
* | ar71xx: ag71xx: fix get_port_link callback | Gabor Juhos | 2012-03-07 | 1 | -2/+8 |
| | | | | SVN-Revision: 30841 | ||||
* | ar71xx: ag71xx: use the generic get_port_link implementation | Gabor Juhos | 2012-03-07 | 1 | -66/+0 |
| | | | | SVN-Revision: 30840 | ||||
* | ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled | Gabor Juhos | 2012-03-01 | 1 | -4/+8 |
| | | | | SVN-Revision: 30768 | ||||
* | ar71xx: ag71xx: add BQL support | Gabor Juhos | 2012-02-10 | 1 | -5/+13 |
| | | | | | | | | It will be usable only from linux-3.3. Based on a patch by Dave Taht <dave.taht@bufferbloat.net> SVN-Revision: 30417 | ||||
* | ar71xx: add preliminary support for 3.3 | Gabor Juhos | 2012-02-10 | 1 | -0/+294 |
| | | | | SVN-Revision: 30410 | ||||
* | ar71xx: merge files-3.2 to files | Gabor Juhos | 2012-02-10 | 10 | -0/+3895 |
| | | | | SVN-Revision: 30405 | ||||
* | ar71xx: move arch specific files to files-2.6.39 | Gabor Juhos | 2012-01-22 | 10 | -3904/+0 |
| | | | | SVN-Revision: 29867 | ||||
* | ar71xx: include linux/module.h in the micrel phy driver | Gabor Juhos | 2012-01-22 | 1 | -0/+1 |
| | | | | SVN-Revision: 29848 | ||||
* | ar71xx: ag71xx: implement get_port_{link,stats} callbacks | Gabor Juhos | 2011-12-31 | 1 | -0/+142 |
| | | | | SVN-Revision: 29626 | ||||
* | ar71xx: set a reserved bit that resets to 1 when writing the address table ↵ | Felix Fietkau | 2011-12-22 | 1 | -0/+2 |
| | | | | | | control register on the ar7240 switch (should fix #10547) SVN-Revision: 29598 | ||||
* | ar71xx: ag71xx: fix switch port setup for AR934X | Gabor Juhos | 2011-12-15 | 1 | -11/+41 |
| | | | | SVN-Revision: 29554 | ||||
* | ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X | Gabor Juhos | 2011-12-15 | 1 | -3/+7 |
| | | | | SVN-Revision: 29553 | ||||
* | ar71xx: ag71xx: setup switch interface mode on AR934X | Gabor Juhos | 2011-12-15 | 1 | -0/+19 |
| | | | | SVN-Revision: 29552 | ||||
* | ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs | Gabor Juhos | 2011-12-15 | 1 | -12/+36 |
| | | | | SVN-Revision: 29551 | ||||
* | ar71xx: introduce ar71xx_switch_data | Gabor Juhos | 2011-12-15 | 2 | -5/+8 |
| | | | | SVN-Revision: 29549 | ||||
* | ar71xx: ag71xx: check PHY IDs before accessing the switch registers | Gabor Juhos | 2011-12-15 | 1 | -9/+8 |
| | | | | SVN-Revision: 29541 | ||||
* | ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x | Gabor Juhos | 2011-12-15 | 1 | -13/+25 |
| | | | | SVN-Revision: 29540 | ||||
* | ar71xx: ag71xx: nuke ar7240sw_init | Gabor Juhos | 2011-12-15 | 1 | -6/+1 |
| | | | | SVN-Revision: 29539 | ||||
* | ar71xx: ag71xx: add support for getting switch port link status | Gabor Juhos | 2011-11-13 | 1 | -0/+67 |
| | | | | SVN-Revision: 29017 | ||||
* | ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx | Gabor Juhos | 2011-11-13 | 2 | -19/+1 |
| | | | | SVN-Revision: 29015 | ||||
* | ar71xx: ag71xx: remove unused mii_cfg related functions and defines | Gabor Juhos | 2011-11-13 | 1 | -40/+0 |
| | | | | SVN-Revision: 29014 | ||||
* | ar71xx: set MII interface speed from the set_speed callbacks | Gabor Juhos | 2011-11-13 | 1 | -6/+0 |
| | | | | SVN-Revision: 29013 | ||||
* | ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data | Gabor Juhos | 2011-11-13 | 1 | -2/+2 |
| | | | | | | Also rename the corresponding callback functions. SVN-Revision: 29012 | ||||
* | ar71xx: ag71xx: remove MII interface setup code | Gabor Juhos | 2011-11-13 | 2 | -15/+0 |
| | | | | SVN-Revision: 29011 | ||||
* | ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered | Gabor Juhos | 2011-11-12 | 1 | -0/+4 |
| | | | | SVN-Revision: 28977 | ||||
* | ar71xx: remove dead code | Felix Fietkau | 2011-11-08 | 1 | -15/+0 |
| | | | | SVN-Revision: 28851 | ||||
* | ar71xx: on ar7240, exclude ports from their own port vlan destination mask | Felix Fietkau | 2011-11-08 | 1 | -2/+1 |
| | | | | SVN-Revision: 28850 | ||||
* | ag71xx: close a race between the phy state machine and link state | Jonas Gorski | 2011-10-08 | 1 | -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. SVN-Revision: 28380 | ||||
* | ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins) | Felix Fietkau | 2011-09-11 | 1 | -1/+1 |
| | | | | SVN-Revision: 28213 | ||||
* | ar71xx: add some code to detect DMA stuck conditions on ar7240 | Felix Fietkau | 2011-08-13 | 2 | -1/+33 |
| | | | | SVN-Revision: 27975 | ||||
* | ar71xx: on ar724x only reset the link status in the restart handler, the ↵ | Felix Fietkau | 2011-08-13 | 1 | -0/+6 |
| | | | | | | fast reset takes care of DMA stuck issues SVN-Revision: 27973 | ||||
* | ar71xx: fix ethernet FIFO state corruption on ar7240 | Felix Fietkau | 2011-08-04 | 2 | -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 SVN-Revision: 27896 | ||||
* | ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop | Felix Fietkau | 2011-08-04 | 2 | -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 SVN-Revision: 27895 | ||||
* | ar71xx: fix MAC/MDIO reset mask handling | Felix Fietkau | 2011-08-04 | 1 | -2/+2 |
| | | | | SVN-Revision: 27894 | ||||
* | ar71xx: reinitialize global switch settings after reset on ar7240 | Felix Fietkau | 2011-07-20 | 1 | -23/+24 |
| | | | | SVN-Revision: 27705 | ||||
* | ar71xx: configure address aging on ar7240 | Felix Fietkau | 2011-07-20 | 1 | -2/+12 |
| | | | | SVN-Revision: 27704 | ||||
* | ar71xx: reset the phy in the ethernet init on ar724x | Felix Fietkau | 2011-07-20 | 1 | -0/+13 |
| | | | | SVN-Revision: 27703 | ||||
* | ar71xx: make sure that rx and interrupts are disabled before issuing the ↵ | Felix Fietkau | 2011-07-20 | 1 | -7/+9 |
| | | | | | | hardware reset SVN-Revision: 27702 | ||||
* | ar71xx: increase the delay after the ethernet MAC reset | Felix Fietkau | 2011-07-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 27701 | ||||
* | ar71xx: fix an unused variable warning | Felix Fietkau | 2011-07-20 | 1 | -1/+0 |
| | | | | SVN-Revision: 27700 |