mbox series

[OpenWrt-Devel,0/3] ar71xx, ath79: Unify debuging output and simplify the code

Message ID 1544481257-29837-1-git-send-email-ynezz@true.cz
Headers show
Series ar71xx, ath79: Unify debuging output and simplify the code | expand

Message

Petr Štetiar Dec. 10, 2018, 10:34 p.m. UTC
While working on Nanostation M (XW) support in ath79 I've needed to dump MAC
registers and diff them between ar71xx/ath79 several times, so it was useful
to have almost similar output in ar71xx/ath79 dmesg.

While at it, I've removed duplicate code in ar71xx/ag71xx in
__ag71xx_link_adjust() and fixed formating in ath79 in ag71xx_probe().

Petr Štetiar (3):
  ar71xx: ag71xx: Replace duplicate debugging code with simple function
    call
  ath79: ag71xx: Unify debug output with ar71xx and make debugging
    easier
  ath79: ag71xx: Fix code formatting in ag71xx_probe

 .../net/ethernet/atheros/ag71xx/ag71xx_main.c      | 17 +------
 .../net/ethernet/atheros/ag71xx/ag71xx_main.c      | 52 ++++++++++++++--------
 2 files changed, 35 insertions(+), 34 deletions(-)