1. 06 1月, 2009 1 次提交
    • R
      qlge: Fix sparse endian warning for inbound packet control block flags. · a303ce09
      Ron Mercer 提交于
      Changed flags element from __le32 to 3 reserved bytes and one byte of
      flags.  Changed flags bit definitions to reflect byte width instead of
      __le32 width.
      
      Warnings:
      drivers/net/qlge/qlge_main.c:1206:16: warning: restricted degrades to integer
      drivers/net/qlge/qlge_main.c:1207:16: warning: restricted degrades to integer
      drivers/net/qlge/qlge_main.c:1233:17: warning: restricted degrades to integer
      drivers/net/qlge/qlge_main.c:1276:17: warning: restricted degrades to integer
      drivers/net/qlge/qlge_main.c:1349:19: warning: restricted degrades to integer
      Signed-off-by: NRon Mercer <ron.mercer@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a303ce09
  2. 05 1月, 2009 1 次提交
    • R
      qlge: bugfix: Fix shadow register endian issue. · 2b72c784
      Ron Mercer 提交于
      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: NRon Mercer <ron.mercer@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2b72c784
  3. 22 10月, 2008 1 次提交
  4. 14 10月, 2008 1 次提交
  5. 18 9月, 2008 1 次提交