1. 30 11月, 2009 1 次提交
    • B
      sfc: Refactor link configuration · d3245b28
      Ben Hutchings 提交于
      Refactor PHY, MAC and NIC configuration operations so that the
      existing link configuration can be re-pushed with:
      
      	efx->phy_op->reconfigure(efx);
      	efx->mac_op->reconfigure(efx);
      
      and a new configuration with:
      
      	efx->nic_op->reconfigure_port(efx);
      
      (plus locking and error-checking).
      
      We have not held the link settings in software (aside from flow
      control), and have relied on asking the hardware what they are.  This
      is a problem because in some cases the hardware may no longer be in a
      state to tell us.  In particular, if an entire multi-port board is
      reset through one port, the driver bindings to other ports have no
      chance to save settings before recovering.
      
      We only actually need to keep track of the autonegotiation settings,
      so add an ethtool advertising mask to struct efx_nic, initialise it
      in PHY init and update it as necessary.
      
      Remove now-unneeded uses of efx_phy_op::{get,set}_settings() and
      struct ethtool_cmd.
      
      Much of this was done by Steve Hodgson <shodgson@solarflare.com>.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d3245b28
  2. 24 10月, 2009 1 次提交
  3. 30 4月, 2009 2 次提交
  4. 02 3月, 2009 1 次提交
  5. 31 1月, 2009 1 次提交
    • B
      sfc: SFX7101/SFT9001: Fix AN advertisements · af4ad9bc
      Ben Hutchings 提交于
      All 10Xpress PHYs require autonegotiation all the time; enforce this
      in the set_settings() method and do not treat it as a workaround.
      
      Remove claimed support for 100M HD mode since it is not supported by
      current firmware.
      
      Do not set speed override bits when AN is enabled, and do not use
      register 1.49192 for AN configuration as it can override what we set
      elsewhere.
      
      Always set the AN selector bits to 1 (802.3).
      
      Fix confusion between Next Page and Extended Next Page.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      af4ad9bc
  6. 27 12月, 2008 1 次提交
  7. 13 12月, 2008 4 次提交
  8. 06 11月, 2008 1 次提交
  9. 03 9月, 2008 2 次提交
  10. 13 5月, 2008 2 次提交
  11. 29 4月, 2008 1 次提交