From: Jing Huang Date: Fri, 9 Jul 2010 03:02:55 +0000 (-0700) Subject: [SCSI] bfa: add debugfs support X-Git-Tag: v2.6.36-rc1~570^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab2a9ba189e889b3e8990e52e90d2cd9606b2aa1;p=pandora-kernel.git [SCSI] bfa: add debugfs support - Add debugfs support to obtain firmware trace, driver trace and read/write to registers. - debugfs hierarchy: /sys/kernel/debug/bfa/host# where the host number corresponds to the one under /sys/class/scsi_host/host# - Following are the new debugfs entries added: drvtrc: collect current driver trace fwtrc: collect current firmware trace. fwsave: collect last saved fw trace as a result of firmware crash. regwr: write one word to chip register regrd: read one or more words from chip register. Signed-off-by: Jing Huang Signed-off-by: James Bottomley --- Reading git-diff-tree failed