From: Bryan O'Sullivan Date: Thu, 15 Mar 2007 21:45:10 +0000 (-0700) Subject: IB/ipath: Prevent random program use of diags interface X-Git-Tag: v2.6.22-rc1~1126^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=490462c2686df6e35c21d1efe935e0b4a3bddb39;p=pandora-kernel.git IB/ipath: Prevent random program use of diags interface To prevent random utility reads and writes of the diag interface to the chip, we first require a handshake of reading from offset 0 and writing to offset 0 before any other reads or writes can be done through the diags device. Otherwise chip errors can be triggered. Signed-off-by: Dave Olson Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier --- Reading git-diff-tree failed