[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150127.000430.1352169065847404927.davem@davemloft.net>
Date: Tue, 27 Jan 2015 00:04:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vivien.didelot@...oirfairelinux.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com
Subject: Re: [PATCH] net: dsa/mv88e6xxx: add reg read and write debug
From: Vivien Didelot <vivien.didelot@...oirfairelinux.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@...oirfairelinux.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists