[rt2x00-users] [PATCH v5 0/3] rt2800 debug improvements

Anisse Astier anisse at astier.eu
Tue May 1 02:33:30 EST 2012


In there are all the debug facilites I would have liked to have while I was
trying to understand why chipset revision RT5390R wasn't working (see:
http://article.gmane.org/gmane.linux.kernel.wireless.general/89561 ).

Changes since v4:
 - re-add BBP size patch (first one) in the series
 - add Ivo's Acked-bys
Changes since v3:
 - Don't print a debug message when register type isn't registered
Changes since v2:
 - split the second patch in two to incorporate changes suggested by Ivo
van Doorn (thanks for the review!) :
 - first part (second patch) is now only a small rewrite of the code to
   initialize only the supported register. Any unsupported register wouldn't
   have its files created.
 - second patch best viewed ignoring spaces ((git) diff -w)
 - third patch is effectively adding RFCSR support.
 - we allocate more data for sprintf since we add a new register.
Changes since v1:
 - removed initialization in chipsets other than rt2800, we now rely on
  default initialization.
 - added comments to make this explicit
 - fix rfcsr size (64)
 - fix pre-review bug thanks to Ivo Van Doorn

Anisse Astier (3):
  rt2800: debugfs register access: BBP is 256 bytes big
  rt2x00: debugfs support - allow a register to be empty
  rt2x00: Add debugfs access for rfcsr register

 drivers/net/wireless/rt2x00/rt2800.h      |    4 +-
 drivers/net/wireless/rt2x00/rt2800lib.c   |    7 +++
 drivers/net/wireless/rt2x00/rt2x00debug.c |   82 ++++++++++++++++-------------
 drivers/net/wireless/rt2x00/rt2x00debug.h |    1 +
 4 files changed, 57 insertions(+), 37 deletions(-)

-- 
1.7.9.4




More information about the users mailing list