linux-sg2042/drivers/net/dsa
Vivien Didelot b8665c6c16 net: dsa/mv88e6352: make mv88e6352_wait generic
Some busy bits are available in the global register 1, such as the ATU
Busy bit. We may want to use this function to wait for them to change,
so add a new parameter to mv88e6352_wait() instead of hard-coding
REG_GLOBAL2.

In the meantime, since the REG_READ() macro already checks for error,
remove the redundant check for ret < 0.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-27 00:05:56 -08:00
..
Kconfig net: dsa: bcm_sf2: always select FIXED_PHY 2014-12-16 00:57:07 -05:00
Makefile net: dsa: Add support for Marvell 88E6352 2014-10-30 14:54:10 -04:00
bcm_sf2.c net: dsa: bcm_sf2: factor interrupt disabling in a function 2015-01-25 16:02:13 -08:00
bcm_sf2.h net: dsa: bcm_sf2: add support for controlling EEE 2014-09-28 17:14:09 -04:00
bcm_sf2_regs.h net: dsa: bcm_sf2: add support for controlling EEE 2014-09-28 17:14:09 -04:00
mv88e6xxx.c net: dsa/mv88e6xxx: add reg read and write debug 2015-01-27 00:04:02 -08:00
mv88e6xxx.h net: dsa: Centralise code for reading the temperature sensor 2014-11-16 15:47:26 -05:00
mv88e6060.c net: dsa: Report known silicon revisions for Marvell 88E6060 2014-10-30 14:54:10 -04:00
mv88e6123_61_65.c net: dsa: Centralise code for reading the temperature sensor 2014-11-16 15:47:26 -05:00
mv88e6131.c net: dsa: Report known silicon revisions for Marvell 88E6131 2014-10-30 14:54:10 -04:00
mv88e6171.c net: dsa: mv88e6171: Add support for reading switch registers 2014-11-16 15:47:26 -05:00
mv88e6352.c net: dsa/mv88e6352: make mv88e6352_wait generic 2015-01-27 00:05:56 -08:00