From: Krishna Gudipati Date: Thu, 22 Dec 2011 13:30:19 +0000 (+0000) Subject: bna: Add debugfs interface. X-Git-Tag: v3.3-rc1~182^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7afc5dbde09104b023ce04465ba71aaba0fc4346;p=pandora-kernel.git bna: Add debugfs interface. Change details: - Add debugfs support to obtain firmware trace, saved firmware trace on an IOC crash, driver info and read/write to registers. - debugfs hierarchy: bna/pci_dev: where the pci_name corresponds to the one under /sys/bus/pci/drivers/bna - Following are the new debugfs entries added: 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. drvinfo: collect the driver information. Signed-off-by: Krishna Gudipati Signed-off-by: David S. Miller --- Reading git-diff-tree failed