lkml.org 
[lkml]   [2015]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: dsa/mv88e6xxx: add reg read and write debug
From
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Date: Fri, 23 Jan 2015 16:10:36 -0500

> This commit adds debug messages for the generic mv88e6xxx read and write
> routines. The output is similar to this:
>
> mdio-gpio mdio-gpio.0: <- addr: 0x1b reg: 0x05 val: 0x4000
> mdio-gpio mdio-gpio.0: -> addr: 0x1b reg: 0x07 val: 0x3113
> mdio-gpio mdio-gpio.0: -> addr: 0x1b reg: 0x08 val: 0x0330
> mdio-gpio mdio-gpio.0: -> addr: 0x1b reg: 0x09 val: 0x0000
>
> This is convenient to dynamically debug operations through debugfs with:
>
> echo file mv88e6xxx.c +p > <debugfs>/dynamic_debug/control
>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Applied, thanks.


\
 
 \ /
  Last update: 2015-01-27 09:21    [W:0.070 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site