backports: refresh patches for next-20130405
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Wed, 8 May 2013 00:01:08 +0000 (17:01 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 8 May 2013 07:02:09 +0000 (09:02 +0200)
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
28 files changed:
patches/backport-adjustments/dma-buf.patch
patches/collateral-evolutions/drm/02-revert-vm_mmap/drivers_gpu_drm_drm_bufs.patch
patches/collateral-evolutions/media/0003-technisat-usb2-led-rename.patch
patches/collateral-evolutions/network/0001-netdev_ops/rndis.patch
patches/collateral-evolutions/network/0001-netdev_ops/usbnet.patch
patches/collateral-evolutions/network/0003-netdev-needed_headroom_tailroom/mac80211.patch
patches/collateral-evolutions/network/0009-disable-wext-kconfig.patch
patches/collateral-evolutions/network/09-cfg80211-wext-padding/net_wireless_core.patch
patches/collateral-evolutions/network/10-add-wext-handlers-to-netdev/net_wireless_core.patch
patches/collateral-evolutions/network/16-bluetooth/drivers_bluetooth_hci_ldisc.patch
patches/collateral-evolutions/network/17-netdev-queue/net_mac80211_iface.patch
patches/collateral-evolutions/network/25-multicast-list_head/include_net_mac80211.patch
patches/collateral-evolutions/network/30-bridge-port/net_wireless_util.patch
patches/collateral-evolutions/network/46-use_other_workqueue/net_bluetooth_hci_core.patch
patches/collateral-evolutions/network/52-tty-dev/drivers_bluetooth_hci_ldisc.patch
patches/collateral-evolutions/network/54-get_ts_info/drivers_net_usb_usbnet.patch
patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_bluetooth_btusb.patch
patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_net_usb_cdc_ether.patch
patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_net_usb_rndis_host.patch
patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_net_wireless_libertas_if_usb.patch
patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_net_wireless_libertas_tf_if_usb.patch
patches/collateral-evolutions/network/64-b44-32bit-stats/drivers_net_ethernet_broadcom_b44.patch
patches/collateral-evolutions/network/65-ignore-dismantle/drivers_net_wireless_libertas_main.patch
patches/collateral-evolutions/network/67-fix-section-mismatch/drivers_net_wireless_ath_ath5k_led.patch
patches/collateral-evolutions/network/69-wowlan-no-socket/net_wireless_nl80211.patch
patches/collateral-evolutions/network/70-umode_t-api-change/drivers_gpu_drm_drm_sysfs.patch
patches/collateral-evolutions/network/72-brcm80211-makefiles/brcmsmac.patch
patches/collateral-evolutions/network/72-brcm80211-makefiles/brcmutil.patch

index 789a1083ef94a3ca984b2a6ee5615d51fb5204b1..a0f3393620de5d611e77a1296c97a84be5786e11 100644 (file)
@@ -11,7 +11,7 @@
  
  static inline int is_dma_buf_file(struct file *);
  
-@@ -126,6 +129,27 @@ struct dma_buf *dma_buf_export(void *pri
+@@ -126,6 +130,27 @@ struct dma_buf *dma_buf_export(void *pri
  }
  EXPORT_SYMBOL_GPL(dma_buf_export);
  
@@ -39,7 +39,7 @@
  
  /**
   * dma_buf_fd - returns a file descriptor for the given dma_buf
-@@ -141,9 +165,10 @@ int dma_buf_fd(struct dma_buf *dmabuf, i
+@@ -141,9 +166,10 @@ int dma_buf_fd(struct dma_buf *dmabuf, i
        if (!dmabuf || !dmabuf->file)
                return -EINVAL;
  
index af4681c37ffcff9f12444642ed577c11d3289b51..ba7b019b53d086d55d37f37011a4c94072401a97 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/gpu/drm/drm_bufs.c
 +++ b/drivers/gpu/drm/drm_bufs.c
-@@ -1541,6 +1541,20 @@
+@@ -1541,6 +1541,20 @@ int drm_mapbufs(struct drm_device *dev,
                                retcode = -EINVAL;
                                goto done;
                        }
@@ -21,7 +21,7 @@
                        virtual = vm_mmap(file_priv->filp, 0, map->size,
                                          PROT_READ | PROT_WRITE,
                                          MAP_SHARED,
-@@ -1549,6 +1563,7 @@
+@@ -1549,6 +1563,7 @@ int drm_mapbufs(struct drm_device *dev,
                        virtual = vm_mmap(file_priv->filp, 0, dma->byte_count,
                                          PROT_READ | PROT_WRITE,
                                          MAP_SHARED, 0);
index ddfc32ef3c39e20544c63847fbce7df012665541..4732392b8d62b104a915bf1246fa4be2282184eb 100644 (file)
@@ -3,7 +3,7 @@ also send this upstream eventually.
 
 --- a/drivers/media/usb/dvb-usb/technisat-usb2.c
 +++ b/drivers/media/usb/dvb-usb/technisat-usb2.c
-@@ -214,10 +214,10 @@ static void technisat_usb2_frontend_reset(struct usb_device *udev)
+@@ -214,10 +214,10 @@ static void technisat_usb2_frontend_rese
  
  /* LED control */
  enum technisat_usb2_led_state {
@@ -18,7 +18,7 @@ also send this upstream eventually.
  };
  
  static int technisat_usb2_set_led(struct dvb_usb_device *d, int red, enum technisat_usb2_led_state state)
-@@ -229,14 +229,14 @@ static int technisat_usb2_set_led(struct dvb_usb_device *d, int red, enum techni
+@@ -229,14 +229,14 @@ static int technisat_usb2_set_led(struct
                0
        };
  
@@ -36,7 +36,7 @@ also send this upstream eventually.
                led[1] = 0x82;
                if (red) {
                        led[2] = 0x02;
-@@ -251,7 +251,7 @@ static int technisat_usb2_set_led(struct dvb_usb_device *d, int red, enum techni
+@@ -251,7 +251,7 @@ static int technisat_usb2_set_led(struct
                break;
  
        default:
@@ -45,7 +45,7 @@ also send this upstream eventually.
                led[1] = 0x80;
                break;
        }
-@@ -310,11 +310,11 @@ static void technisat_usb2_green_led_control(struct work_struct *work)
+@@ -310,11 +310,11 @@ static void technisat_usb2_green_led_con
                                goto schedule;
  
                        if (ber > 1000)
@@ -60,7 +60,7 @@ also send this upstream eventually.
        }
  
  schedule:
-@@ -365,9 +365,9 @@ static int technisat_usb2_power_ctrl(struct dvb_usb_device *d, int level)
+@@ -365,9 +365,9 @@ static int technisat_usb2_power_ctrl(str
                return 0;
  
        /* green led is turned off in any case - will be turned on when tuning */
@@ -72,7 +72,7 @@ also send this upstream eventually.
        return 0;
  }
  
-@@ -667,7 +667,7 @@ static int technisat_usb2_rc_query(struct dvb_usb_device *d)
+@@ -667,7 +667,7 @@ static int technisat_usb2_rc_query(struc
                return 0;
  
        if (!disable_led_control)
index 3ced6304fe97b81e434c283f06dfb3caa42993a5..694e8943af3c32746ad5f5ba55f5b3e581dbe7a5 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/usb/rndis_host.c
 +++ b/drivers/net/usb/rndis_host.c
-@@ -358,7 +358,7 @@
+@@ -358,7 +358,7 @@ generic_rndis_bind(struct usbnet *dev, s
        dev->rx_urb_size &= ~(dev->maxpacket - 1);
        u.init->max_transfer_size = cpu_to_le32(dev->rx_urb_size);
  
index f2bf6eccc5f069c02f54ddf5b537043bbbb81b4c..5052c1f4bf8be31c9ad7ab10ed3cf4bcf75cbba0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/usb/usbnet.c
 +++ b/drivers/net/usb/usbnet.c
-@@ -1446,7 +1446,7 @@
+@@ -1446,7 +1446,7 @@ usbnet_probe (struct usb_interface *udev
                net->features |= NETIF_F_HIGHDMA;
  #endif
  
index 2b6a8a46dd5b458af8ed262f05d9e67159c33880..e59727403aabd130be521b4a58c1674f6ab1bb7b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/mac80211/iface.c
 +++ b/net/mac80211/iface.c
-@@ -1518,6 +1518,7 @@ int ieee80211_if_add(struct ieee80211_lo
+@@ -1513,6 +1513,7 @@ int ieee80211_if_add(struct ieee80211_lo
                        return -ENOMEM;
                dev_net_set(ndev, wiphy_net(local->hw.wiphy));
  
@@ -8,7 +8,7 @@
                ndev->needed_headroom = local->tx_headroom +
                                        4*6 /* four MAC addresses */
                                        + 2 + 2 + 2 + 2 /* ctl, dur, seq, qos */
-@@ -1526,6 +1527,7 @@ int ieee80211_if_add(struct ieee80211_lo
+@@ -1521,6 +1522,7 @@ int ieee80211_if_add(struct ieee80211_lo
                                        - ETH_HLEN /* ethernet hard_header_len */
                                        + IEEE80211_ENCRYPT_HEADROOM;
                ndev->needed_tailroom = IEEE80211_ENCRYPT_TAILROOM;
index 83752e8cd444601552513b6174790d6ce1c064a1..9d32cfe0b904275afe2e68daeaa7cbafb3b1873a 100644 (file)
@@ -24,8 +24,8 @@ so remove the Kconfig options for them.
 -
  config CFG80211
        tristate "cfg80211 - wireless configuration API"
-       depends on m
-@@ -135,7 +117,7 @@ config CFG80211_INTERNAL_REGDB
+       depends on RFKILL || !RFKILL
+@@ -134,7 +116,7 @@ config CFG80211_INTERNAL_REGDB
  config CFG80211_WEXT
        bool "cfg80211 wireless extensions compatibility"
        depends on CFG80211
index 051401afd4cdd0cc05bf9295c5aba84ff751be2b..db7ad0bcb8db96174278fe078868da6e711e2c38 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/wireless/core.c
 +++ b/net/wireless/core.c
-@@ -316,6 +316,17 @@ struct wiphy *wiphy_new(const struct cfg
+@@ -314,6 +314,17 @@ struct wiphy *wiphy_new(const struct cfg
        struct cfg80211_registered_device *rdev;
        int alloc_size;
  
index b047c32311e27345d3443bc9fd5c1e6da99917d7..744952f4e9d4168433a5b20cb34eb8c7023f8c6e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/wireless/core.c
 +++ b/net/wireless/core.c
-@@ -373,10 +373,6 @@ struct wiphy *wiphy_new(const struct cfg
+@@ -371,10 +371,6 @@ struct wiphy *wiphy_new(const struct cfg
        INIT_WORK(&rdev->sched_scan_results_wk, __cfg80211_sched_scan_results);
        INIT_DELAYED_WORK(&rdev->dfs_update_channels_wk,
                          cfg80211_dfs_channels_update_work);
@@ -11,7 +11,7 @@
        device_initialize(&rdev->wiphy.dev);
        rdev->wiphy.dev.class = &ieee80211_class;
        rdev->wiphy.dev.platform_data = rdev;
-@@ -947,6 +943,15 @@ static int cfg80211_netdev_notifier_call
+@@ -941,6 +937,15 @@ static int cfg80211_netdev_notifier_call
                wdev->sme_state = CFG80211_SME_IDLE;
                mutex_unlock(&rdev->devlist_mtx);
  #ifdef CONFIG_CFG80211_WEXT
index 5d5fd922b54e0c34943107c1e97010252673d00f..4fa1912fb229cd7491d462d52671e4e86298ad9d 100644 (file)
@@ -14,7 +14,7 @@
        tty_driver_flush_buffer(tty);
  
        return 0;
-@@ -524,7 +529,11 @@ static int hci_uart_tty_ioctl(struct tty
+@@ -527,7 +532,11 @@ static int hci_uart_tty_ioctl(struct tty
                return hu->hdev_flags;
  
        default:
index 5f14b991890c82ee7d58dcf9f9f446ba69d4e7dd..87adf23bbe39af673c6dce3ed3cf47975872d532 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/mac80211/iface.c
 +++ b/net/mac80211/iface.c
-@@ -1643,6 +1643,7 @@ void ieee80211_sdata_stop(struct ieee802
+@@ -1638,6 +1638,7 @@ void ieee80211_sdata_stop(struct ieee802
   * Remove all interfaces, may only be called at hardware unregistration
   * time because it doesn't do RCU-safe list removals.
   */
@@ -8,7 +8,7 @@
  void ieee80211_remove_interfaces(struct ieee80211_local *local)
  {
        struct ieee80211_sub_if_data *sdata, *tmp;
-@@ -1670,6 +1671,22 @@ void ieee80211_remove_interfaces(struct
+@@ -1665,6 +1666,22 @@ void ieee80211_remove_interfaces(struct
                kfree(sdata);
        }
  }
index e1a1597acdba411dc82eaf66ddda4c296e5fc364..6482bab5833dff2dcb5e98fa19aa3419d7ec0a15 100644 (file)
@@ -1,6 +1,6 @@
 --- a/include/net/mac80211.h
 +++ b/include/net/mac80211.h
-@@ -2604,14 +2604,24 @@ struct ieee80211_ops {
+@@ -2603,14 +2603,24 @@ struct ieee80211_ops {
        void (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
  
        u64 (*prepare_multicast)(struct ieee80211_hw *hw,
index e9d4dc31d07a334a8c1b112cf0950ab97432f30c..1b69dd11da66dc700eca21a6843bb2cae5ce2099 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/wireless/util.c
 +++ b/net/wireless/util.c
-@@ -816,7 +816,7 @@ int cfg80211_change_iface(struct cfg8021
+@@ -815,7 +815,7 @@ int cfg80211_change_iface(struct cfg8021
                return -EOPNOTSUPP;
  
        /* if it's part of a bridge, reject changing type to station/ibss */
index ff3ac79dbd3cbbd7144b567826204bceae92298a..33f0fde9db0f173164b175ceb7b1336dcc8191de 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/bluetooth/hci_core.c
 +++ b/net/bluetooth/hci_core.c
-@@ -2066,16 +2066,24 @@ int hci_register_dev(struct hci_dev *hde
+@@ -2181,16 +2181,24 @@ int hci_register_dev(struct hci_dev *hde
        list_add(&hdev->list, &hci_dev_list);
        write_unlock(&hci_dev_list_lock);
  
index 3ff960d925ff72c981df3c69e341a91b2ec69a95..42f16cbe84865829f400378f34ffe1450289faff 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/bluetooth/hci_ldisc.c
 +++ b/drivers/bluetooth/hci_ldisc.c
-@@ -421,7 +421,10 @@ static int hci_uart_register_dev(struct
+@@ -424,7 +424,10 @@ static int hci_uart_register_dev(struct
        hdev->close = hci_uart_close;
        hdev->flush = hci_uart_flush;
        hdev->send  = hci_uart_send_frame;
index 0057f47b789752a16c7ca5a9c1367aa6f9405bb4..aa537ee319b41b678abf16f5011d8e99f66129ee 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/usb/usbnet.c
 +++ b/drivers/net/usb/usbnet.c
-@@ -933,7 +933,9 @@
+@@ -933,7 +933,9 @@ static const struct ethtool_ops usbnet_e
        .get_drvinfo            = usbnet_get_drvinfo,
        .get_msglevel           = usbnet_get_msglevel,
        .set_msglevel           = usbnet_set_msglevel,
index 9a52c6b05d2085b6f22554af0ff9b823133de976..2084db068486eaa15f2a62b99ca3a2db91aee297 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/bluetooth/btusb.c
 +++ b/drivers/bluetooth/btusb.c
-@@ -1234,7 +1234,9 @@ static struct usb_driver btusb_driver =
+@@ -1246,7 +1246,9 @@ static struct usb_driver btusb_driver =
  #endif
        .id_table       = btusb_table,
        .supports_autosuspend = 1,
index e4b942ad1ced4358a78e72c84269454d144e5484..214c576ebb5fcd3e86cc89124197c9e186f92bd5 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/usb/cdc_ether.c
 +++ b/drivers/net/usb/cdc_ether.c
-@@ -720,7 +720,9 @@
+@@ -720,7 +720,9 @@ static struct usb_driver cdc_driver = {
        .resume =       usbnet_resume,
        .reset_resume = usbnet_resume,
        .supports_autosuspend = 1,
index 231263220e0859cc655521ef573dd8f0b232dd8d..ff18d42a08307fa7d0cc3a5a5f48733ed1854108 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/usb/rndis_host.c
 +++ b/drivers/net/usb/rndis_host.c
-@@ -642,7 +642,9 @@
+@@ -637,7 +637,9 @@ static struct usb_driver rndis_driver =
        .disconnect =   usbnet_disconnect,
        .suspend =      usbnet_suspend,
        .resume =       usbnet_resume,
index d7d3bb3688d8c6d538a8335a2bc7bb94d06d9f0c..dcac2af6f7224f38af471f36e5873efbe6df1b34 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/libertas/if_usb.c
 +++ b/drivers/net/wireless/libertas/if_usb.c
-@@ -1015,7 +1015,9 @@ static struct usb_driver if_usb_driver =
+@@ -1013,7 +1013,9 @@ static struct usb_driver if_usb_driver =
        .suspend = if_usb_suspend,
        .resume = if_usb_resume,
        .reset_resume = if_usb_resume,
index 421c6307a3a9ddeb133db1c834600c6ea07130bf..fdc92535e2090239bd5509bf5757613b4291936f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/libertas_tf/if_usb.c
 +++ b/drivers/net/wireless/libertas_tf/if_usb.c
-@@ -922,7 +922,9 @@ static struct usb_driver if_usb_driver =
+@@ -920,7 +920,9 @@ static struct usb_driver if_usb_driver =
        .id_table = if_usb_table,
        .suspend = if_usb_suspend,
        .resume = if_usb_resume,
index 53089df09f997dc53318d4b85ea9a204c8d5e8bd..72e1f654bc7866f75059f15d16af4702da4f6bd9 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/ethernet/broadcom/b44.c
 +++ b/drivers/net/ethernet/broadcom/b44.c
-@@ -31,6 +31,7 @@
+@@ -29,6 +29,7 @@
  #include <linux/dma-mapping.h>
  #include <linux/ssb/ssb.h>
  #include <linux/slab.h>
@@ -8,7 +8,7 @@
  
  #include <asm/uaccess.h>
  #include <asm/io.h>
-@@ -1638,10 +1639,17 @@ static int b44_close(struct net_device *
+@@ -1636,10 +1637,17 @@ static int b44_close(struct net_device *
        return 0;
  }
  
@@ -26,7 +26,7 @@
        struct b44_hw_stats *hwstat = &bp->hw_stats;
        unsigned int start;
  
-@@ -2130,7 +2138,11 @@ static const struct net_device_ops b44_n
+@@ -2128,7 +2136,11 @@ static const struct net_device_ops b44_n
        .ndo_open               = b44_open,
        .ndo_stop               = b44_close,
        .ndo_start_xmit         = b44_start_xmit,
index 22c04655dca5387ce6c6bcbc3555ad86e4229e5b..c255478c71fba70ae75539d165f27126724d7644 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/libertas/main.c
 +++ b/drivers/net/wireless/libertas/main.c
-@@ -592,7 +592,11 @@ static int lbs_thread(void *data)
+@@ -590,7 +590,11 @@ static int lbs_thread(void *data)
  
                        /* Reset card, but only when it isn't in the process
                         * of being shutdown anyway. */
index 15126b6fc88edd930f1bbb89ba5d3cdf89377867..5b9583d8d1ddf8e0f2011815dfc9fa2b0b41d6f8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath5k/led.c
 +++ b/drivers/net/wireless/ath/ath5k/led.c
-@@ -55,7 +55,7 @@
+@@ -53,7 +53,7 @@
  #define ATH_POLARITY(data) ((data) & 0xff)
  
  /* Devices we match on for LED config info (typically laptops) */
index 29e4eddefee60209d2a5b653b5965520f80ee409..2a6c7404175ad6c9b5ab8c3529b18f02f36080ce 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/wireless/nl80211.c
 +++ b/net/wireless/nl80211.c
-@@ -7728,7 +7728,7 @@ static int nl80211_parse_wowlan_tcp(stru
+@@ -7726,7 +7726,7 @@ static int nl80211_parse_wowlan_tcp(stru
                port = nla_get_u16(tb[NL80211_WOWLAN_TCP_SRC_PORT]);
        else
                port = 0;
index 9321ed76424ace3ada734f2b1291406f00607946..06a6af0fbd4bebc1217dad951a28f97c9a7bc735 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/gpu/drm/drm_sysfs.c
 +++ b/drivers/gpu/drm/drm_sysfs.c
-@@ -72,7 +72,11 @@
+@@ -72,7 +72,11 @@ static int drm_class_resume(struct devic
        return 0;
  }
  
index 4a898c50c5af23609aa7fb24adc0da8e86a154b5..112c76948d2bf415dc50ac5dd0cd73829f977237 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/net/wireless/brcm80211/brcmsmac/Makefile
 +++ b/drivers/net/wireless/brcm80211/brcmsmac/Makefile
 @@ -21,7 +21,7 @@ ccflags-y := \
-       -I$(obj)/phy                            \
-       -I$(obj)/../include
+       -Idrivers/net/wireless/brcm80211/brcmsmac/phy \
+       -Idrivers/net/wireless/brcm80211/include
  
 -BRCMSMAC_OFILES := \
 +brcmsmac-y := \
index ad1322bbe5b7f1017cba202b74ffa024ef657461..3b847337483f60dd6d785af76214dbebc64452ab 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/net/wireless/brcm80211/brcmutil/Makefile
 +++ b/drivers/net/wireless/brcm80211/brcmutil/Makefile
 @@ -19,10 +19,5 @@ ccflags-y :=                                \
-       -I$(obj)                        \
-       -I$(obj)/../include
+       -Idrivers/net/wireless/brcm80211/brcmutil \
+       -Idrivers/net/wireless/brcm80211/include
  
 -BRCMUTIL_OFILES := \
 -      utils.o