From: David Miller <davem@davemloft.net>
To: vivien.didelot@savoirfairelinux.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel@savoirfairelinux.com
Subject: Re: [PATCH] net: dsa/mv88e6xxx: add reg read and write debug
Date: Tue, 27 Jan 2015 00:04:30 -0800 (PST) [thread overview]
Message-ID: <20150127.000430.1352169065847404927.davem@davemloft.net> (raw)
In-Reply-To: <1422047436-6864-1-git-send-email-vivien.didelot@savoirfairelinux.com>
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.
prev parent reply other threads:[~2015-01-27 8:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-23 21:10 [PATCH] net: dsa/mv88e6xxx: add reg read and write debug Vivien Didelot
2015-01-27 8:04 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150127.000430.1352169065847404927.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=kernel@savoirfairelinux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).