1. 30 11月, 2009 2 次提交
    • B
      sfc: Extend loopback mode enumeration · e58f69f4
      Ben Hutchings 提交于
      New NICs and PHYs support a wider variety of loopback modes.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e58f69f4
    • 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. 29 11月, 2009 2 次提交
  3. 27 11月, 2009 1 次提交
  4. 25 11月, 2009 4 次提交
  5. 24 10月, 2009 1 次提交
  6. 27 8月, 2009 1 次提交
  7. 18 5月, 2009 1 次提交
  8. 30 4月, 2009 1 次提交
  9. 02 3月, 2009 3 次提交
  10. 13 12月, 2008 6 次提交
  11. 06 11月, 2008 1 次提交
  12. 25 9月, 2008 1 次提交
  13. 03 9月, 2008 2 次提交
  14. 22 5月, 2008 2 次提交
  15. 13 5月, 2008 1 次提交
  16. 29 4月, 2008 1 次提交