aboutsummaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-01-04 17:07:50 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-04 17:07:50 -0800
commit2b72c7849f9a091c1e5d7255732faf14ac7d5123 (patch)
tree50abd7531683f201cb45a650d9128c3afefa8216 /Kbuild
parent4055c7d495f2502718bbbea871e6504ae95add14 (diff)
qlge: bugfix: Fix shadow register endian issue.
Shadow registers are consistent memory locations to which the chip echos ring indexes in little endian format. These values need to be endian swapped before referencing. Note: The register pointer declaration uses the volatile modifier which causes warnings in checkpatch. Per Documentation/volatile-considered-harmful.txt: - Pointers to data structures in coherent memory which might be modified by I/O devices can, sometimes, legitimately be volatile. A ring buffer used by a network adapter, where that adapter changes pointers to indicate which descriptors have been processed, is an example of this type of situation. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions