openwrtv3/target/linux/ar71xx/files/arch/mips
Felix Fietkau f4e6418a32 ar71xx: add a helper function to set RXDV/RXD of ETH_CFG on AR934x
The ETH_RXDV_DELAY (17:16) and ETH_RXD_DELAY (15:14) are currently not cleared
by the function ath79_setup_ar934x_eth_cfg. Clearing these in the
ath79_setup_ar934x_eth_cfg may cause problems on some hardware because they
rely on the preset value by the bootloader.

Instead another function is introduced which also works on ETH_CFG on AR934x.
It can be used to safely clear and set ETH_RXDV_DELAY and ETH_RXD_DELAY on
machines which require special settings.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 45523
2015-04-20 15:00:52 +00:00
..
ath79 ar71xx: add a helper function to set RXDV/RXD of ETH_CFG on AR934x 2015-04-20 15:00:52 +00:00
include/asm ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data 2013-12-20 11:41:17 +00:00