openwrtv3/target/linux/generic/files/drivers/net/phy/b53
Jonas Gorski eedc3554fe generic: b53: fix reverted error check in probe
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
2013-02-10 12:31:36 +00:00
..
b53_common.c generic: add b53 swconfig switch driver 2013-01-23 10:12:33 +00:00
b53_mdio.c generic: b53: fix reverted error check in probe 2013-02-10 12:31:36 +00:00
b53_mmap.c generic: add b53 swconfig switch driver 2013-01-23 10:12:33 +00:00
b53_phy_fixup.c generic: add b53 swconfig switch driver 2013-01-23 10:12:33 +00:00
b53_priv.h generic: add b53 swconfig switch driver 2013-01-23 10:12:33 +00:00
b53_regs.h generic: add b53 swconfig switch driver 2013-01-23 10:12:33 +00:00
b53_spi.c kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
Kconfig kernel: b53: the b53 spi driver depends on spi 2013-01-27 21:39:53 +00:00
Makefile generic: add b53 swconfig switch driver 2013-01-23 10:12:33 +00:00