98 Commits (0e974c50edac8e4e5607e9eb1fcf68e1e822c3be)

Author SHA1 Message Date
Felix Fietkau 523fcf0497 ar71xx: add a new driver for the ar7240 switch using swconfig. hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563 14 years ago
Felix Fietkau a27ea45e76 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563 15 years ago
Felix Fietkau 15b209d09f ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably 15 years ago
Felix Fietkau 89da22d1ea ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down fixes boot time crashes under load reported by matteo 15 years ago
Felix Fietkau 7966004d99 ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason (fixes #7236) 15 years ago
Felix Fietkau 1c0e751391 ar71xx: fix up alignment handling 15 years ago
Gabor Juhos 4c29a2c263 ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions 15 years ago
Gabor Juhos 4a28844d80 ar71xx: ag71xx: call the phy driver's netif_receive_skb() 15 years ago
Gabor Juhos c874513cfa ar71xx: fix broken LAN ports on the boards with AR8216 switch (closes #7024) 15 years ago
Gabor Juhos b7ca043240 ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack 15 years ago
Gabor Juhos f9acf8ada1 ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper 15 years ago
Gabor Juhos 200db5ebb5 ar71xx: ag71xx: reorganize ag71xx_rx_packet function 15 years ago
Gabor Juhos 245775a49f ar71xx: ag71xx: Add netpoll support 15 years ago
Andy Boyett 681054333e wrt400n: lan ports don't need the ar8216 workaround 15 years ago
Gabor Juhos 9a1031ce6d ar71xx: change PHY select logic, and update phy_masks 15 years ago
Gabor Juhos 2a818f388a ar71xx: ag71xx: fix MAC address setup 15 years ago
Gabor Juhos 2702ae4e8f ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock 15 years ago
Gabor Juhos a4bccded57 ar71xx: ag71xx: move link update function 15 years ago
Gabor Juhos eacf9a7614 ar71xx: ag71xx: don't use dev->trans_start 15 years ago
Gabor Juhos ba288eeb84 ar71xx: ag71xx: use dma_unmap_single to unmap frames 15 years ago
Gabor Juhos 0e4eaea770 ar71xx: ag71xx: use correct device pointer for dma_map_single 15 years ago
Gabor Juhos 84823e1477 ar71xx: ag71xx: don't use virt_to_phys 15 years ago
Gabor Juhos 4a987d6008 ar71xx: ag71xx: simplify register access functions 15 years ago
Gabor Juhos e157281c5d ar71xx: ag71xx: use NETDEV_TX_OK 15 years ago
Gabor Juhos 1612fd447d ar71xx: enable TX/RX flow control on the AR7240 15 years ago
Gabor Juhos d8ace8978a ar71xx: add NAPI statistics to the ag71xx driver 15 years ago
Jo-Philipp Wich d8bd549d71 fix typo after r19054 15 years ago
Gabor Juhos 51c76750fc ar71xx: add detailed interrupt statistics for the ag71xx driver 15 years ago
Gabor Juhos 46b572636b ar71xx: update Kconfig of the ag71xx driver 15 years ago
Gabor Juhos 63a320c8f7 ar71xx: add dummy debugfs support for the ag71xx driver 15 years ago
Felix Fietkau 6a90a35f2b Revert "ar71xx: move phy_connect call to ag71xx_open" (r18691) It's causing issues with switch drivers that register with swconfig and makes fixing those unnecessarily complicated. Fixes rtl8306 switch support on the WRT160NL. 15 years ago
Gabor Juhos 8956009fa6 ar71xx: fix NULL pointer dereference in the ethernet driver 15 years ago
Gabor Juhos 18885b425c ar71xx: merge ag71xx specific patches 15 years ago
Gabor Juhos d38fd20cb7 ar71xx: move mdio_bus reset code 15 years ago
Gabor Juhos 18867965f7 ar71xx: add support for external mii_bus 15 years ago
Gabor Juhos 0e79007faf ar71xx: move phy_connect call to ag71xx_open 15 years ago
Gabor Juhos 8a7e19e7db ar71xx: change mii_bus name 15 years ago
Gabor Juhos 35dbf66787 ar71xx: override fifo_cfg[123] values on AR7240 15 years ago
Felix Fietkau cb85dcb1a8 ar71xx: mask out reserved bits from the dma tx status in the ethernet driver 15 years ago
Gabor Juhos 21fc9ffe63 ar71xx: use soc specific divider for mdio clock 15 years ago
Gabor Juhos f336f8748c ar71xx: update mdio_reset code 15 years ago
Gabor Juhos 8458d7c73b ar71xx: flush mii register writes 15 years ago
Gabor Juhos 0eba7ba4ff ar71xx: don't use mac_base2 in the ag71xx driver 15 years ago
Gabor Juhos 6ed55b43d7 ar71xx: remove some extern directives in the ag71xx driver 15 years ago
Gabor Juhos bbab2a48b4 ag71xx driver: rename ag71xx_debug module parameter 16 years ago
Gabor Juhos d99dcbca9f ag71xx driver: fix a typo 16 years ago
Gabor Juhos a579511dbf ag71xx driver: align descriptors on cache_line boundary 16 years ago
Gabor Juhos 82a084680a ag71xx driver: store descriptor pointers in ag71xx_buf 16 years ago
Gabor Juhos b1f5f1d3b0 ag71xx driver: descriptors always aligned on 4 byte boundary 16 years ago
Gabor Juhos 10357fc180 ag71xx driver: don't flush ddr on tx path 16 years ago