1. 04 1月, 2008 2 次提交
    • D
      [CASSINI]: Revert 'dont touch page_count'. · 9de4dfb4
      David S. Miller 提交于
      This reverts changeset fa4f0774
      ([CASSINI]: dont touch page_count) because it breaks the driver.
      
      The local page counting added by this changeset did not account
      for the asynchronous page count changes done by kfree_skb()
      and friends.
      
      The change adds extra atomics and on top of it all appears to be
      totally unnecessary as well.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      Acked-by: NNick Piggin <npiggin@suse.de>
      9de4dfb4
    • A
      [CASSINI]: Fix endianness bug. · e5e02540
      Al Viro 提交于
      Here's proposed fix for RX checksum handling in cassini; it affects
      little-endian working with half-duplex gigabit, but obviously needs
      testing on big-endian too.
      
      The problem is, we need to convert checksum to fixed-endian *before*
      correcting for (unstripped) FCS.  On big-endian it won't matter
      (conversion is no-op), on little-endian it will, but only if FCS is
      not stripped by hardware; i.e. in half-duplex gigabit mode when
      ->crc_size is set.
      
      cassini.c part is that fix, cassini.h one consists of trivial
      endianness annotations.  With that applied the sucker is endian-clean,
      according to sparse.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e5e02540
  2. 27 12月, 2007 2 次提交
  3. 23 12月, 2007 16 次提交
  4. 20 12月, 2007 6 次提交
  5. 18 12月, 2007 10 次提交
  6. 17 12月, 2007 3 次提交
  7. 15 12月, 2007 1 次提交