1. 20 10月, 2011 2 次提交
    • F
      bonding: fix wrong port enabling in 802.3ad · d5edf290
      Flavio Leitner 提交于
      The port shouldn't be enabled unless its current MUX
      state is DISTRIBUTING which is correctly handled by
      ad_mux_machine(), otherwise the packet sent can be
      lost because the other end may not be ready.
      
      The issue happens on every port initialization, but
      as the ports are expected to move quickly to DISTRIBUTING,
      it doesn't cause much problem.  However, it does cause
      constant packet loss if the other peer has the port
      configured to stay in STANDBY (i.e. SYNC set to OFF).
      Signed-off-by: NFlavio Leitner <fbl@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d5edf290
    • A
      phylib: Modify Vitesse RGMII skew settings · fddf86fc
      Andy Fleming 提交于
      The Vitesse driver was using the RGMII_ID interface type to determine if
      skew was necessary.  However, we want to move away from using that
      interface type, as it's really a property of the board's PHY connection.
      However, some boards depend on it, so we want to support it, while
      allowing new boards to use the more flexible "fixups" approach.  To do
      this, we extract the code which adds skew into its own function, and
      call that function when RGMII_ID has been selected.
      
      Another side-effect of this change is that if your PHY has skew set
      already, it doesn't clear it.  This way, the fixup code can modify the
      register without config_init then clearing it.
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fddf86fc
  2. 19 10月, 2011 18 次提交
  3. 18 10月, 2011 17 次提交
  4. 17 10月, 2011 3 次提交