commit | 490462c2686df6e35c21d1efe935e0b4a3bddb39 | [log] [tgz] |
---|---|---|
author | Bryan O'Sullivan <bos@pathscale.com> | Thu Mar 15 14:45:10 2007 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Apr 18 20:20:59 2007 -0700 |
tree | 455262ace80556289cf5ff10247246adcbe0b9d0 | |
parent | f5408ac7ccec0a7edd2b6add0da82735375a37a0 [diff] |
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 <dave.olson@qlogic.com> Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>