mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-01 18:55:56 +02:00
7e0819a929
brcmsmac does not work on bcm47xx based devices or has AP mode support for now. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30643 3c298f89-4303-0410-b956-a3cf2f4a3e73
238 lines
5.8 KiB
Diff
238 lines
5.8 KiB
Diff
--- a/drivers/net/wireless/iwlegacy/3945-mac.c
|
|
+++ b/drivers/net/wireless/iwlegacy/3945-mac.c
|
|
@@ -27,6 +27,7 @@
|
|
*
|
|
*****************************************************************************/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/kernel.h>
|
|
--- a/drivers/net/wireless/libertas_tf/cmd.c
|
|
+++ b/drivers/net/wireless/libertas_tf/cmd.c
|
|
@@ -7,6 +7,7 @@
|
|
* the Free Software Foundation; either version 2 of the License, or (at
|
|
* your option) any later version.
|
|
*/
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/hardirq.h>
|
|
--- a/drivers/net/wireless/libertas_tf/if_usb.c
|
|
+++ b/drivers/net/wireless/libertas_tf/if_usb.c
|
|
@@ -9,6 +9,7 @@
|
|
*/
|
|
#define DRV_NAME "lbtf_usb"
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include "libertas_tf.h"
|
|
--- a/drivers/net/wireless/libertas_tf/main.c
|
|
+++ b/drivers/net/wireless/libertas_tf/main.c
|
|
@@ -7,6 +7,7 @@
|
|
* the Free Software Foundation; either version 2 of the License, or (at
|
|
* your option) any later version.
|
|
*/
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/hardirq.h>
|
|
--- a/net/wireless/core.c
|
|
+++ b/net/wireless/core.c
|
|
@@ -4,6 +4,7 @@
|
|
* Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/if.h>
|
|
--- a/net/wireless/lib80211.c
|
|
+++ b/net/wireless/lib80211.c
|
|
@@ -13,6 +13,7 @@
|
|
*
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/module.h>
|
|
--- a/net/wireless/lib80211_crypt_tkip.c
|
|
+++ b/net/wireless/lib80211_crypt_tkip.c
|
|
@@ -10,6 +10,7 @@
|
|
* more details.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/err.h>
|
|
--- a/net/wireless/reg.c
|
|
+++ b/net/wireless/reg.c
|
|
@@ -42,6 +42,7 @@
|
|
*
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/kernel.h>
|
|
--- a/drivers/net/wireless/iwlegacy/4965-mac.c
|
|
+++ b/drivers/net/wireless/iwlegacy/4965-mac.c
|
|
@@ -27,6 +27,7 @@
|
|
*
|
|
*****************************************************************************/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/kernel.h>
|
|
--- a/drivers/net/wireless/libertas/cfg.c
|
|
+++ b/drivers/net/wireless/libertas/cfg.c
|
|
@@ -6,6 +6,7 @@
|
|
*
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/hardirq.h>
|
|
--- a/drivers/net/wireless/libertas/if_cs.c
|
|
+++ b/drivers/net/wireless/libertas/if_cs.c
|
|
@@ -21,6 +21,7 @@
|
|
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/module.h>
|
|
--- a/drivers/net/wireless/libertas/if_sdio.c
|
|
+++ b/drivers/net/wireless/libertas/if_sdio.c
|
|
@@ -26,6 +26,7 @@
|
|
* if_sdio_card_to_host() to pad the data.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/kernel.h>
|
|
--- a/drivers/net/wireless/libertas/if_spi.c
|
|
+++ b/drivers/net/wireless/libertas/if_spi.c
|
|
@@ -17,6 +17,7 @@
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/hardirq.h>
|
|
--- a/drivers/net/wireless/libertas/if_usb.c
|
|
+++ b/drivers/net/wireless/libertas/if_usb.c
|
|
@@ -2,6 +2,7 @@
|
|
* This file contains functions used in USB interface module.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/delay.h>
|
|
--- a/drivers/net/wireless/libertas/main.c
|
|
+++ b/drivers/net/wireless/libertas/main.c
|
|
@@ -4,6 +4,7 @@
|
|
* thread etc..
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/module.h>
|
|
--- a/drivers/net/wireless/libertas/mesh.c
|
|
+++ b/drivers/net/wireless/libertas/mesh.c
|
|
@@ -1,3 +1,4 @@
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/delay.h>
|
|
--- a/drivers/net/wireless/libertas/rx.c
|
|
+++ b/drivers/net/wireless/libertas/rx.c
|
|
@@ -2,6 +2,7 @@
|
|
* This file contains the handling of RX in wlan driver.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/etherdevice.h>
|
|
--- a/compat/crc8.c
|
|
+++ b/compat/crc8.c
|
|
@@ -14,6 +14,7 @@
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/module.h>
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
|
|
@@ -16,6 +16,7 @@
|
|
* File contents: support functions for PCI/PCIe
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/delay.h>
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/dma.c
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/dma.c
|
|
@@ -14,6 +14,7 @@
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/slab.h>
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
|
|
@@ -15,6 +15,7 @@
|
|
*/
|
|
|
|
#define __UNDEF_NO_VERSION__
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/etherdevice.h>
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c
|
|
@@ -14,6 +14,7 @@
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/kernel.h>
|
|
--- a/drivers/net/wireless/brcm80211/brcmutil/utils.c
|
|
+++ b/drivers/net/wireless/brcm80211/brcmutil/utils.c
|
|
@@ -14,6 +14,7 @@
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/netdevice.h>
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
|
@@ -14,6 +14,7 @@
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
+#undef pr_fmt
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#include <linux/pci_ids.h>
|