mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
12758b6906
a20-olinuxino-lime2 is currently having hard time with link detection of
certain 1000Mbit partners due to usage of generic PHY driver, probably
due to following missing workaround introduced in upstream in commit
3aed3e2a143c ("net: phy: micrel: add Asym Pause workaround"):
The Micrel KSZ9031 PHY may fail to establish a link when the Asymmetric
Pause capability is set. This issue is described in a Silicon Errata
(DS80000691D or DS80000692D), which advises to always disable the
capability. This patch implements the workaround by defining a KSZ9031
specific get_feature callback to force the Asymmetric Pause capability
bit to be cleared.
This fixes issues where the link would not come up at boot time, or when
the Asym Pause bit was set later on.
As a20-olinuxino-lime2 has Micrel KSZ9031RNXCC-TR Gigabit PHY since
revision H, so we need to use Micrel PHY driver on those devices.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit ffa1088f63
)
25 lines
600 B
Plaintext
25 lines
600 B
Plaintext
CONFIG_B53=y
|
|
CONFIG_B53_MDIO_DRIVER=y
|
|
CONFIG_DWMAC_SUN8I=y
|
|
CONFIG_GRO_CELLS=y
|
|
# CONFIG_MACH_SUN4I is not set
|
|
# CONFIG_MACH_SUN5I is not set
|
|
CONFIG_MDIO_BUS_MUX=y
|
|
CONFIG_MICREL_PHY=y
|
|
CONFIG_MUSB_PIO_ONLY=y
|
|
CONFIG_NET_DEVLINK=y
|
|
CONFIG_NET_DSA=y
|
|
CONFIG_NET_DSA_TAG_BRCM=y
|
|
CONFIG_NET_DSA_TAG_BRCM_COMMON=y
|
|
CONFIG_NET_DSA_TAG_BRCM_LEGACY=y
|
|
CONFIG_NET_DSA_TAG_BRCM_PREPEND=y
|
|
CONFIG_NET_SWITCHDEV=y
|
|
CONFIG_NOP_USB_XCEIV=y
|
|
CONFIG_RTC_DRV_SUN6I=y
|
|
CONFIG_USB_MUSB_DUAL_ROLE=y
|
|
# CONFIG_USB_MUSB_GADGET is not set
|
|
CONFIG_USB_MUSB_HDRC=y
|
|
# CONFIG_USB_MUSB_HOST is not set
|
|
CONFIG_USB_MUSB_SUNXI=y
|
|
CONFIG_USB_PHY=y
|