r4915 - developers/werner/wlan-trial
werner at docs.openmoko.org
werner at docs.openmoko.org
Fri Feb 6 14:45:36 CET 2009
Author: werner
Date: 2009-02-06 14:45:36 +0100 (Fri, 06 Feb 2009)
New Revision: 4915
Added:
developers/werner/wlan-trial/patch-20090206.patch
Log:
Patch used for this trial kernel. Not suitable for our baseline.
Added: developers/werner/wlan-trial/patch-20090206.patch
===================================================================
--- developers/werner/wlan-trial/patch-20090206.patch (rev 0)
+++ developers/werner/wlan-trial/patch-20090206.patch 2009-02-06 13:45:36 UTC (rev 4915)
@@ -0,0 +1,52 @@
+diff --git a/drivers/ar6000/Makefile b/drivers/ar6000/Makefile
+index f8f4431..af2c436 100644
+--- a/drivers/ar6000/Makefile
++++ b/drivers/ar6000/Makefile
+@@ -12,6 +12,7 @@ EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DHTC_RAW_INTERFACE\
+ -DSDIO \
+
+ EXTRA_CFLAGS += -DKERNEL_2_6
++EXTRA_CFLAGS += -DDEBUG
+
+ obj-$(CONFIG_AR6000_WLAN) += ar6000.o
+
+diff --git a/drivers/ar6000/ar6000/ar6000_drv.c b/drivers/ar6000/ar6000/ar6000_drv.c
+index 8165576..99d9366 100644
+--- a/drivers/ar6000/ar6000/ar6000_drv.c
++++ b/drivers/ar6000/ar6000/ar6000_drv.c
+@@ -476,7 +476,7 @@ void
+ ar6000_dbglog_event(AR_SOFTC_T *ar, A_UINT32 dropped,
+ A_INT8 *buffer, A_UINT32 length)
+ {
+-#ifdef REPORT_DEBUG_LOGS_TO_APP
++#if defined(REPORT_DEBUG_LOGS_TO_APP) && defined(SEND_EVENT_TO_APP)
+ #define MAX_WIRELESS_EVENT_SIZE 252
+ /*
+ * Break it up into chunks of MAX_WIRELESS_EVENT_SIZE bytes of messages.
+diff --git a/drivers/ar6000/hif/hif2.c b/drivers/ar6000/hif/hif2.c
+index 571833f..655df18 100644
+--- a/drivers/ar6000/hif/hif2.c
++++ b/drivers/ar6000/hif/hif2.c
+@@ -16,6 +16,8 @@
+ */
+
+
++#undef DEBUG
++
+ #include <linux/kernel.h>
+ #include <linux/kthread.h>
+ #include <linux/list.h>
+diff --git a/drivers/ar6000/wmi/wmi.c b/drivers/ar6000/wmi/wmi.c
+index d322cf3..a29acc6 100644
+--- a/drivers/ar6000/wmi/wmi.c
++++ b/drivers/ar6000/wmi/wmi.c
+@@ -474,7 +474,9 @@ wmi_control_rx_xtnd(struct wmi_t *wmip, void *osbuf)
+ wmi_hbChallengeResp_rx(wmip, datap, len);
+ break;
+ case (WMIX_DBGLOG_EVENTID):
++#ifdef CONFIG_AR6000_WLAN_DEBUG
+ wmi_dbglog_event_rx(wmip, datap, len);
++#endif
+ break;
+ default:
+ A_DPRINTF(DBG_WMI|DBG_ERROR,
More information about the commitlog
mailing list