1. 01 3月, 2012 2 次提交
  2. 01 2月, 2012 1 次提交
  3. 23 11月, 2011 1 次提交
  4. 14 11月, 2011 1 次提交
  5. 03 11月, 2011 1 次提交
  6. 08 10月, 2011 1 次提交
  7. 18 8月, 2011 1 次提交
  8. 11 8月, 2011 1 次提交
  9. 07 6月, 2011 1 次提交
  10. 07 5月, 2011 1 次提交
  11. 05 5月, 2011 1 次提交
  12. 30 4月, 2011 2 次提交
    • D
      ethtool: Use full 32 bit speed range in ethtool's set_settings · 25db0338
      David Decotigny 提交于
      This makes sure the ethtool's set_settings() callback of network
      drivers don't ignore the 16 most significant bits when ethtool calls
      their set_settings().
      
      All drivers compiled with make allyesconfig on x86_64 have been
      updated.
      Signed-off-by: NDavid Decotigny <decot@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      25db0338
    • D
      ethtool: Call ethtool's get/set_settings callbacks with cleaned data · 8ae6daca
      David Decotigny 提交于
      This makes sure that when a driver calls the ethtool's
      get/set_settings() callback of another driver, the data passed to it
      is clean. This guarantees that speed_hi will be zeroed correctly if
      the called callback doesn't explicitely set it: we are sure we don't
      get a corrupted speed from the underlying driver. We also take care of
      setting the cmd field appropriately (ETHTOOL_GSET/SSET).
      
      This applies to dev_ethtool_get_settings(), which now makes sure it
      sets up that ethtool command parameter correctly before passing it to
      drivers. This also means that whoever calls dev_ethtool_get_settings()
      does not have to clean the ethtool command parameter. This function
      also becomes an exported symbol instead of an inline.
      
      All drivers visible to make allyesconfig under x86_64 have been
      updated.
      Signed-off-by: NDavid Decotigny <decot@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8ae6daca
  13. 27 9月, 2010 1 次提交
  14. 09 8月, 2010 1 次提交
    • J
      e100/e1000*/igb*/ixgb*: Add missing read memory barrier · 2d0bb1c1
      Jeff Kirsher 提交于
      Based on patches from Sonny Rao and Milton Miller...
      
      Combined the patches to fix up clean_tx_irq and clean_rx_irq.
      
      The PowerPC architecture does not require loads to independent bytes
      to be ordered without adding an explicit barrier.
      
      In ixgbe_clean_rx_irq we load the status bit then load the packet data.
      With packet split disabled if these loads go out of order we get a
      stale packet, but we will notice the bad sequence numbers and drop it.
      
      The problem occurs with packet split enabled where the TCP/IP header
      and data are in different descriptors. If the reads go out of order
      we may have data that doesn't match the TCP/IP header. Since we use
      hardware checksumming this bad data is never verified and it makes it
      all the way to the application.
      
      This bug was found during stress testing and adding this barrier has
      been shown to fix it.  The bug can manifest as a data integrity issue
      (bad payload data) or as a BUG in skb_pull().
      
      This was a nasty bug to hunt down, if people agree with the fix I think
      it's a candidate for stable.
      
      Previously Submitted to e1000-devel only for ixgbe
      
      http://marc.info/?l=e1000-devel&m=126593062701537&w=3
      
      We've now seen this problem hit with other device drivers (e1000e mostly)
      So I'm resubmitting with fixes for other Intel Device Drivers with
      similar issues.
      
      CC: Milton Miller <miltonm@bga.com>
      CC: Anton Blanchard <anton@samba.org>
      CC: Sonny Rao <sonnyrao@us.ibm.com>
      CC: stable <stable@kernel.org>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2d0bb1c1
  15. 10 5月, 2010 1 次提交
  16. 25 4月, 2010 1 次提交
  17. 04 4月, 2010 1 次提交
    • J
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko 提交于
      Converts the list and the core manipulating with it to be the same as uc_list.
      
      +uses two functions for adding/removing mc address (normal and "global"
       variant) instead of a function parameter.
      +removes dev_mcast.c completely.
      +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
       manipulation with lists on a sandbox (used in bonding and 80211 drivers)
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      22bedad3
  18. 17 3月, 2010 1 次提交
  19. 16 3月, 2010 1 次提交
  20. 23 2月, 2010 1 次提交
  21. 13 2月, 2010 1 次提交
  22. 08 1月, 2010 1 次提交
  23. 19 12月, 2009 1 次提交
  24. 30 11月, 2009 1 次提交
  25. 30 10月, 2009 1 次提交
    • B
      e100: e100_phy_init() isolates selected PHY, causes 10 second boot delay · 8fbd962e
      Bruce Allan 提交于
      A change in how PHYs are electrically isolated caused all PHYs to be
      isolated followed by reverting that isolation for the selected PHY.
      Unfortunately, isolating the selected PHY for even a short period of
      time can result in DHCP negotiation taking more than 10 seconds on certain
      embedded configurations delaying boot time as reported by Bernhard Kaindl.
      This patch reverts the change to how PHYs are isolated yet still works
      around the issue for 82552 needing the selected PHY's BMCR register to
      be written after the unused PHYs are isolated.  This code is moved below
      the setting of nic->phy ID in order to do the 82552-specific workaround.
      
      Cc: Bernhard Kaindl <bernhard.kaindl@gmx.net>
      Signed-off-by: NBruce Allan <bruce.w.allan@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8fbd962e
  26. 28 10月, 2009 1 次提交
  27. 14 10月, 2009 1 次提交
  28. 12 10月, 2009 1 次提交
  29. 01 9月, 2009 1 次提交
  30. 24 8月, 2009 1 次提交
    • K
      E100: fix interaction with swiotlb on X86. · 6ff9c2e7
      Krzysztof Hałasa 提交于
      E100 places it's RX packet descriptors inside skb->data and uses them
      with bidirectional streaming DMA mapping. Data in descriptors is
      accessed simultaneously by the chip (writing status and size when
      a packet is received) and CPU (reading to check if the packet was
      received). This isn't a valid usage of PCI DMA API, which requires use
      of the coherent (consistent) memory for such purpose. Unfortunately e100
      chips working in "simplified" RX mode have to store received data
      directly after the descriptor. Fixing the driver to conform to the API
      would require using unsupported "flexible" RX mode or receiving data
      into a coherent memory and using CPU to copy it to network buffers.
      
      This patch, while not yet making the driver conform to the PCI DMA API,
      allows it to work correctly on X86 with swiotlb (while not breaking
      other architectures).
      Signed-off-by: NKrzysztof Hałasa <khc@pm.waw.pl>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6ff9c2e7
  31. 17 7月, 2009 1 次提交
  32. 06 7月, 2009 1 次提交
  33. 18 6月, 2009 1 次提交
  34. 13 6月, 2009 2 次提交
  35. 11 6月, 2009 1 次提交
    • A
      e100: add non-MII PHY support · 72001762
      Andreas Mohr 提交于
      Restore support for cards with MII-lacking PHYs as compared to removed
      pre-2.6.29 eepro100 driver: use full low-level MII I/O access abstraction
      by providing clean PHY-specific mdio_ctrl() functions for either standard
      MII-compliant cards, slightly special ones or non-MII PHY ones.
      
      We now have another netdev_priv member for mdio_ctrl(), thus we have some
      array indirection, but we save some additional opcodes for specific
      phy_82552_v handling in the common case.
      
      [akpm@linux-foundation.org: cleanups]
      Signed-off-by: NAndreas Mohr <andi@lisas.de>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
      Cc: Bruce Allan <bruce.w.allan@intel.com>
      Cc: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
      Cc: John Ronciak <john.ronciak@intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      72001762
  36. 08 6月, 2009 1 次提交
  37. 29 4月, 2009 1 次提交