1. 30 11月, 2009 2 次提交
    • 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
    • B
      sfc: Move Falcon NIC operations to efx_nic_type · ef2b90ee
      Ben Hutchings 提交于
      This is preparation for adding differing implementations for new NICs.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ef2b90ee
  2. 29 11月, 2009 4 次提交
  3. 27 11月, 2009 8 次提交
  4. 25 11月, 2009 7 次提交
  5. 24 10月, 2009 7 次提交
  6. 24 9月, 2009 1 次提交
  7. 27 8月, 2009 2 次提交
  8. 20 5月, 2009 1 次提交
  9. 18 5月, 2009 1 次提交
  10. 30 4月, 2009 1 次提交
  11. 15 4月, 2009 1 次提交
  12. 01 4月, 2009 1 次提交
  13. 22 3月, 2009 1 次提交
  14. 05 3月, 2009 1 次提交
  15. 02 3月, 2009 1 次提交
  16. 31 1月, 2009 1 次提交