Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2011 01:19:01 +0000 (17:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2011 01:19:01 +0000 (17:19 -0800)
Conflicts:
drivers/net/e1000e/netdev.c

14 files changed:
1  2 
drivers/net/bnx2x/bnx2x_main.c
drivers/net/e1000e/netdev.c
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c
drivers/net/wireless/iwlwifi/iwl-6000.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/wl1251/main.c
net/batman-adv/unicast.c
net/core/dev.c
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/status.c
net/mac80211/tx.c

Simple merge
index 5b916b01805fe4153059d7d3415910fcb32cffe5,3065870cf2a78871dff8b4856f15bf6ff58c113b..6025d5fb12a4e55c08d864508c04ab0d4784e53d
@@@ -4303,18 -4299,20 +4303,17 @@@ link_up
  
        e1000e_update_adaptive(&adapter->hw);
  
 -      if (!netif_carrier_ok(netdev)) {
 -              tx_pending = (e1000_desc_unused(tx_ring) + 1 <
 -                             tx_ring->count);
 -              if (tx_pending) {
 -                      /*
 -                       * We've lost link, so the controller stops DMA,
 -                       * but we've got queued Tx work that's never going
 -                       * to get done, so reset controller to flush Tx.
 -                       * (Do the reset outside of interrupt context).
 -                       */
 -                      schedule_work(&adapter->reset_task);
 -                      /* return immediately since reset is imminent */
 -                      return;
 -              }
 +      if (!netif_carrier_ok(netdev) &&
 +          (e1000_desc_unused(tx_ring) + 1 < tx_ring->count)) {
 +              /*
 +               * We've lost link, so the controller stops DMA,
 +               * but we've got queued Tx work that's never going
 +               * to get done, so reset controller to flush Tx.
 +               * (Do the reset outside of interrupt context).
 +               */
-               adapter->tx_timeout_count++;
 +              schedule_work(&adapter->reset_task);
 +              /* return immediately since reset is imminent */
 +              return;
        }
  
        /* Simple mode for Interrupt Throttle Rate (ITR) */
index 7c8409e535989fcbba4f664c94e7e9345c73ed34,23838e37d45fc3b0b3884f7321d51bdcad4c092d..9272278aff5ee9eeebdcfa660ab0835f2a5ab687
@@@ -600,10 -594,7 +601,9 @@@ struct ath_softc 
        struct work_struct paprd_work;
        struct work_struct hw_check_work;
        struct completion paprd_complete;
-       bool paprd_pending;
  
 +      unsigned int hw_busy_count;
 +
        u32 intrstatus;
        u32 sc_flags; /* SC_OP_* */
        u16 ps_flags; /* PS_* */
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc net/core/dev.c
index f46ee357ff2e0d66343f7f65b68a0cbf4571a825,8e726cb47ed78d7836471f5fa9624202cec77d55..6392ea0a59104a5e5b6dfe11d0fc977e2e349d60
@@@ -5816,22 -5679,16 +5826,17 @@@ struct net_device *alloc_netdev_mqs(in
        dev->num_rx_queues = rxqs;
        dev->real_num_rx_queues = rxqs;
        if (netif_alloc_rx_queues(dev))
-               goto free_pcpu;
+               goto free_all;
  #endif
  
-       dev->gso_max_size = GSO_MAX_SIZE;
-       INIT_LIST_HEAD(&dev->ethtool_ntuple_list.list);
-       dev->ethtool_ntuple_list.count = 0;
-       INIT_LIST_HEAD(&dev->napi_list);
-       INIT_LIST_HEAD(&dev->unreg_list);
-       INIT_LIST_HEAD(&dev->link_watch_list);
-       dev->priv_flags = IFF_XMIT_DST_RELEASE;
-       setup(dev);
        strcpy(dev->name, name);
 +      dev->group = INIT_NETDEV_GROUP;
        return dev;
  
+ free_all:
+       free_netdev(dev);
+       return NULL;
  free_pcpu:
        free_percpu(dev->pcpu_refcnt);
        kfree(dev->_tx);
Simple merge
Simple merge
Simple merge
Simple merge