1. 13 4月, 2011 2 次提交
    • J
      vxge: always enable hardware time stamp · cd883a79
      Jon Mason 提交于
      Hardware time stamp calculation can only be enabled by the privileged
      function. Enable it always by default and simply use the ethtool
      interface to set a flag to indicate whether or not the respective
      function driver should indicate the timestamp along with the received
      packet.
      
      Also, make certain fields in vxge_hw_device_config bit-fields to reduce
      the size of the struct.
      Signed-off-by: NJon Mason <jdmason@kudzu.us>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cd883a79
    • D
      s2io: Fix warnings due to -Wunused-but-set-variable. · d83d282b
      David S. Miller 提交于
      Most of these are cases where we are trying to read back a register
      after a write to ensure completion.
      
      Simply pre-fixing the readl() or readq() with "(void)" is sufficient
      because these are volatile operations and the compiler cannot eliminate
      them just because no real assignment takes place.
      
      The case of free_rxd_blk()'s assignments to "struct buffAdd *ba" is a
      real spurious assignment as this variable is completely otherwise
      unused.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      Acked-by: NJon Mason <jdmason@kudzu.us>
      d83d282b
  2. 12 4月, 2011 24 次提交
  3. 11 4月, 2011 14 次提交