]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
authorDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 21:56:41 +0000 (14:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 21:56:41 +0000 (14:56 -0700)
Conflicts:

drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/netdev.c

1  2 
MAINTAINERS
drivers/net/e1000e/e1000.h
drivers/net/e1000e/ethtool.c
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/netdev.c
drivers/net/e1000e/param.c
net/core/dev.c
net/core/rtnetlink.c
net/ipv4/tcp_input.c

diff --cc MAINTAINERS
Simple merge
index 0a1916b0419d0d60d154beea4a46d62c1c51c31d,5ea6b60fa3774a5ed6673949bd8e7ea0ee780170..c55de1c027af9578687a553195bfb911c65a72f9
@@@ -321,8 -306,8 +322,9 @@@ struct e1000_info 
  #define FLAG_HAS_CTRLEXT_ON_LOAD          (1 << 5)
  #define FLAG_HAS_SWSM_ON_LOAD             (1 << 6)
  #define FLAG_HAS_JUMBO_FRAMES             (1 << 7)
+ #define FLAG_READ_ONLY_NVM                (1 << 8)
  #define FLAG_IS_ICH                       (1 << 9)
 +#define FLAG_HAS_MSIX                     (1 << 10)
  #define FLAG_HAS_SMART_POWER_DOWN         (1 << 11)
  #define FLAG_IS_QUAD_PORT_A               (1 << 12)
  #define FLAG_IS_QUAD_PORT                 (1 << 13)
Simple merge
index 692251b60915999e79654d981401e3e2b69b2ffb,bcd2bc477af29110636abec9920b3f4a76a244b7..523b9716a543aec21d923b58a07cd5162b3edab3
@@@ -398,8 -419,8 +424,10 @@@ static s32 e1000_acquire_swflag_ich8lan
  
        if (!timeout) {
                hw_dbg(hw, "FW or HW has locked the resource for too long.\n");
 +              extcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG;
 +              ew32(EXTCNF_CTRL, extcnf_ctrl);
+               nvm_owner = -1;
+               mutex_unlock(&nvm_mutex);
                return -E1000_ERR_CONFIG;
        }
  
@@@ -421,24 -442,11 +449,27 @@@ static void e1000_release_swflag_ich8la
        extcnf_ctrl = er32(EXTCNF_CTRL);
        extcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG;
        ew32(EXTCNF_CTRL, extcnf_ctrl);
+       nvm_owner = -1;
+       mutex_unlock(&nvm_mutex);
  }
  
 +/**
 + *  e1000_check_mng_mode_ich8lan - Checks management mode
 + *  @hw: pointer to the HW structure
 + *
 + *  This checks if the adapter has manageability enabled.
 + *  This is a function pointer entry point only called by read/write
 + *  routines for the PHY and NVM parts.
 + **/
 +static bool e1000_check_mng_mode_ich8lan(struct e1000_hw *hw)
 +{
 +      u32 fwsm = er32(FWSM);
 +
 +      return (fwsm & E1000_FWSM_MODE_MASK) ==
 +              (E1000_ICH_MNG_IAMT_MODE << E1000_FWSM_MODE_SHIFT);
 +}
 +
  /**
   *  e1000_check_reset_block_ich8lan - Check if PHY reset is blocked
   *  @hw: pointer to the HW structure
index 24d05cb700553fbefc306e0b99015c53dd4018f6,b81c4237b5d30a11dc7f6e3dcefdbbc3ae202fb2..1b72749979c4aa221d3b99c00bb93eb096f4f87d
@@@ -2905,10 -2600,14 +2913,8 @@@ static int __devinit e1000_sw_init(stru
        /* Explicitly disable IRQ since the NIC can be in any state. */
        e1000_irq_disable(adapter);
  
-       spin_lock_init(&adapter->stats_lock);
        set_bit(__E1000_DOWN, &adapter->state);
        return 0;
 -
 -err:
 -      e_err("Unable to allocate memory for queues\n");
 -      kfree(adapter->rx_ring);
 -      kfree(adapter->tx_ring);
 -      return -ENOMEM;
  }
  
  /**
Simple merge
diff --cc net/core/dev.c
Simple merge
Simple merge
Simple merge