mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-10-20 08:34:26 -04:00
b53_switch_detect returns value returned by b53_read8, which is 0 for success. So fail (and return error) only if b53_switch_detect returned something else than 0. This fixes supported and advertising being zeros for MDIO access. Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 35534 |
||
|---|---|---|
| .. | ||
| b53_common.c | ||
| b53_mdio.c | ||
| b53_mmap.c | ||
| b53_phy_fixup.c | ||
| b53_priv.h | ||
| b53_regs.h | ||
| b53_spi.c | ||
| Kconfig | ||
| Makefile | ||