linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Franky Lin" <frankyl@broadcom.com>
To: gregkh@suse.de
Cc: devel@linuxdriverproject.org, linux-wireless@vger.kernel.org
Subject: [PATCH 092/119] staging: brmc80211: cleaned up sdio related error codes
Date: Wed, 29 Jun 2011 16:47:56 -0700	[thread overview]
Message-ID: <1309391303-22741-93-git-send-email-frankyl@broadcom.com> (raw)
In-Reply-To: <1309391303-22741-1-git-send-email-frankyl@broadcom.com>

From: Roland Vossen <rvossen@broadcom.com>

Code cleanup. Replaced Broadcom proprietary error codes with Linux native
ones.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
---
 drivers/staging/brcm80211/brcmfmac/bcmsdbus.h      |    4 --
 drivers/staging/brcm80211/brcmfmac/bcmsdh.c        |   52 +++++++------------
 drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c  |   43 ++++++++--------
 .../brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c        |    5 +-
 4 files changed, 44 insertions(+), 60 deletions(-)

diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdbus.h b/drivers/staging/brcm80211/brcmfmac/bcmsdbus.h
index f1d04e0..9359bba 100644
--- a/drivers/staging/brcm80211/brcmfmac/bcmsdbus.h
+++ b/drivers/staging/brcm80211/brcmfmac/bcmsdbus.h
@@ -19,10 +19,6 @@
 
 #include "sdio_host.h"
 
-#define SDIOH_API_RC_SUCCESS                          (0x00)
-#define SDIOH_API_RC_FAIL	                      (0x01)
-#define SDIOH_API_SUCCESS(status) (status == 0)
-
 #define SDIOH_READ              0	/* Read request */
 #define SDIOH_WRITE             1	/* Write request */
 
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh.c
index c8e84d3..d785b05 100644
--- a/drivers/staging/brcm80211/brcmfmac/bcmsdh.c
+++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh.c
@@ -105,7 +105,7 @@ bool brcmf_sdcard_intr_query(void *sdh)
 
 	ASSERT(bcmsdh);
 	status = brcmf_sdioh_interrupt_query(bcmsdh->sdioh, &on);
-	if (SDIOH_API_SUCCESS(status))
+	if (status == 0)
 		return false;
 	else
 		return on;
@@ -114,41 +114,33 @@ bool brcmf_sdcard_intr_query(void *sdh)
 int brcmf_sdcard_intr_enable(void *sdh)
 {
 	struct brcmf_sdio *bcmsdh = (struct brcmf_sdio *) sdh;
-	int status;
 	ASSERT(bcmsdh);
 
-	status = brcmf_sdioh_interrupt_set(bcmsdh->sdioh, true);
-	return SDIOH_API_SUCCESS(status) ? 0 : -EIO;
+	return brcmf_sdioh_interrupt_set(bcmsdh->sdioh, true);
 }
 
 int brcmf_sdcard_intr_disable(void *sdh)
 {
 	struct brcmf_sdio *bcmsdh = (struct brcmf_sdio *) sdh;
-	int status;
 	ASSERT(bcmsdh);
 
-	status = brcmf_sdioh_interrupt_set(bcmsdh->sdioh, false);
-	return SDIOH_API_SUCCESS(status) ? 0 : -EIO;
+	return brcmf_sdioh_interrupt_set(bcmsdh->sdioh, false);
 }
 
 int brcmf_sdcard_intr_reg(void *sdh, bcmsdh_cb_fn_t fn, void *argh)
 {
 	struct brcmf_sdio *bcmsdh = (struct brcmf_sdio *) sdh;
-	int status;
 	ASSERT(bcmsdh);
 
-	status = brcmf_sdioh_interrupt_register(bcmsdh->sdioh, fn, argh);
-	return SDIOH_API_SUCCESS(status) ? 0 : -EIO;
+	return brcmf_sdioh_interrupt_register(bcmsdh->sdioh, fn, argh);
 }
 
 int brcmf_sdcard_intr_dereg(void *sdh)
 {
 	struct brcmf_sdio *bcmsdh = (struct brcmf_sdio *) sdh;
-	int status;
 	ASSERT(bcmsdh);
 
-	status = brcmf_sdioh_interrupt_deregister(bcmsdh->sdioh);
-	return SDIOH_API_SUCCESS(status) ? 0 : -EIO;
+	return brcmf_sdioh_interrupt_deregister(bcmsdh->sdioh);
 }
 
 #if defined(BCMDBG)
@@ -192,11 +184,11 @@ u8 brcmf_sdcard_cfg_read(void *sdh, uint fnc_num, u32 addr, int *err)
 		    brcmf_sdioh_cfg_read(bcmsdh->sdioh, fnc_num, addr,
 				   (u8 *) &data);
 #ifdef SDIOH_API_ACCESS_RETRY_LIMIT
-	} while (!SDIOH_API_SUCCESS(status)
+	} while (status != 0
 		 && (retry++ < SDIOH_API_ACCESS_RETRY_LIMIT));
 #endif
 	if (err)
-		*err = (SDIOH_API_SUCCESS(status) ? 0 : -EIO);
+		*err = status;
 
 	BCMSDH_INFO(("%s:fun = %d, addr = 0x%x, u8data = 0x%x\n",
 		     __func__, fnc_num, addr, data));
@@ -227,11 +219,11 @@ brcmf_sdcard_cfg_write(void *sdh, uint fnc_num, u32 addr, u8 data, int *err)
 		    brcmf_sdioh_cfg_write(bcmsdh->sdioh, fnc_num, addr,
 				    (u8 *) &data);
 #ifdef SDIOH_API_ACCESS_RETRY_LIMIT
-	} while (!SDIOH_API_SUCCESS(status)
+	} while (status != 0
 		 && (retry++ < SDIOH_API_ACCESS_RETRY_LIMIT));
 #endif
 	if (err)
-		*err = SDIOH_API_SUCCESS(status) ? 0 : -EIO;
+		*err = status;
 
 	BCMSDH_INFO(("%s:fun = %d, addr = 0x%x, u8data = 0x%x\n",
 		     __func__, fnc_num, addr, data));
@@ -252,7 +244,7 @@ u32 brcmf_sdcard_cfg_read_word(void *sdh, uint fnc_num, u32 addr, int *err)
 		SDIOH_READ, fnc_num, addr, &data, 4);
 
 	if (err)
-		*err = (SDIOH_API_SUCCESS(status) ? 0 : -EIO);
+		*err = status;
 
 	BCMSDH_INFO(("%s:fun = %d, addr = 0x%x, u32data = 0x%x\n",
 		     __func__, fnc_num, addr, data));
@@ -277,7 +269,7 @@ brcmf_sdcard_cfg_write_word(void *sdh, uint fnc_num, u32 addr, u32 data,
 			       SDIOH_WRITE, fnc_num, addr, &data, 4);
 
 	if (err)
-		*err = (SDIOH_API_SUCCESS(status) ? 0 : -EIO);
+		*err = status;
 
 	BCMSDH_INFO(("%s:fun = %d, addr = 0x%x, u32data = 0x%x\n",
 		     __func__, fnc_num, addr, data));
@@ -320,7 +312,7 @@ int brcmf_sdcard_cis_read(void *sdh, uint func, u8 * cis, uint length)
 		kfree(tmp_buf);
 	}
 
-	return SDIOH_API_SUCCESS(status) ? 0 : -EIO;
+	return status;
 }
 
 static int brcmf_sdcard_set_sbaddr_window(void *sdh, u32 address)
@@ -371,12 +363,12 @@ u32 brcmf_sdcard_reg_read(void *sdh, u32 addr, uint size)
 	status = brcmf_sdioh_request_word(bcmsdh->sdioh, SDIOH_CMD_TYPE_NORMAL,
 				    SDIOH_READ, SDIO_FUNC_1, addr, &word, size);
 
-	bcmsdh->regfail = !(SDIOH_API_SUCCESS(status));
+	bcmsdh->regfail = (status != 0);
 
 	BCMSDH_INFO(("u32data = 0x%x\n", word));
 
 	/* if ok, return appropriately masked word */
-	if (SDIOH_API_SUCCESS(status)) {
+	if (status == 0) {
 		switch (size) {
 		case sizeof(u8):
 			return word & 0xff;
@@ -425,9 +417,9 @@ u32 brcmf_sdcard_reg_write(void *sdh, u32 addr, uint size, u32 data)
 	status =
 	    brcmf_sdioh_request_word(bcmsdh->sdioh, SDIOH_CMD_TYPE_NORMAL,
 			       SDIOH_WRITE, SDIO_FUNC_1, addr, &data, size);
-	bcmsdh->regfail = !(SDIOH_API_SUCCESS(status));
+	bcmsdh->regfail = (status != 0);
 
-	if (SDIOH_API_SUCCESS(status))
+	if (status == 0)
 		return 0;
 
 	BCMSDH_ERROR(("%s: error writing 0x%08x to addr 0x%04x size %d\n",
@@ -480,7 +472,7 @@ brcmf_sdcard_recv_buf(struct brcmf_sdio *bcmsdh, u32 addr, uint fn, uint flags,
 	status = brcmf_sdioh_request_buffer(bcmsdh->sdioh, SDIOH_DATA_PIO,
 		incr_fix, SDIOH_READ, fn, addr, width, nbytes, buf, pkt);
 
-	return SDIOH_API_SUCCESS(status) ? 0 : -EIO;
+	return status;
 }
 
 int
@@ -489,7 +481,6 @@ brcmf_sdcard_send_buf(void *sdh, u32 addr, uint fn, uint flags,
 		bcmsdh_cmplt_fn_t complete, void *handle)
 {
 	struct brcmf_sdio *bcmsdh = (struct brcmf_sdio *) sdh;
-	int status;
 	uint incr_fix;
 	uint width;
 	uint bar0 = addr & ~SBSDIO_SB_OFT_ADDR_MASK;
@@ -521,16 +512,13 @@ brcmf_sdcard_send_buf(void *sdh, u32 addr, uint fn, uint flags,
 	if (width == 4)
 		addr |= SBSDIO_SB_ACCESS_2_4B_FLAG;
 
-	status = brcmf_sdioh_request_buffer(bcmsdh->sdioh, SDIOH_DATA_PIO,
+	return brcmf_sdioh_request_buffer(bcmsdh->sdioh, SDIOH_DATA_PIO,
 		incr_fix, SDIOH_WRITE, fn, addr, width, nbytes, buf, pkt);
-
-	return SDIOH_API_SUCCESS(status) ? 0 : -EIO;
 }
 
 int brcmf_sdcard_rwdata(void *sdh, uint rw, u32 addr, u8 *buf, uint nbytes)
 {
 	struct brcmf_sdio *bcmsdh = (struct brcmf_sdio *) sdh;
-	int status;
 
 	ASSERT(bcmsdh);
 	ASSERT(bcmsdh->init_success);
@@ -539,11 +527,9 @@ int brcmf_sdcard_rwdata(void *sdh, uint rw, u32 addr, u8 *buf, uint nbytes)
 	addr &= SBSDIO_SB_OFT_ADDR_MASK;
 	addr |= SBSDIO_SB_ACCESS_2_4B_FLAG;
 
-	status = brcmf_sdioh_request_buffer(bcmsdh->sdioh, SDIOH_DATA_PIO,
+	return brcmf_sdioh_request_buffer(bcmsdh->sdioh, SDIOH_DATA_PIO,
 		SDIOH_DATA_INC, (rw ? SDIOH_WRITE : SDIOH_READ), SDIO_FUNC_1,
 		addr, 4, nbytes, buf, NULL);
-
-	return SDIOH_API_SUCCESS(status) ? 0 : -EIO;
 }
 
 int brcmf_sdcard_abort(void *sdh, uint fn)
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
index 167181d..0413a59 100644
--- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
+++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
@@ -20,6 +20,7 @@
 #include <linux/mmc/sdio_func.h>
 #include <linux/mmc/sdio_ids.h>
 #include <linux/suspend.h>
+#include <linux/errno.h>
 
 #include <defs.h>
 #include <brcm_hw_ids.h>
@@ -177,7 +178,7 @@ extern int brcmf_sdioh_detach(struct sdioh_info *sd)
 
 		kfree(sd);
 	}
-	return SDIOH_API_RC_SUCCESS;
+	return 0;
 }
 
 /* Configure callback to client when we receive client interrupt */
@@ -189,7 +190,7 @@ brcmf_sdioh_interrupt_register(struct sdioh_info *sd, sdioh_cb_fn_t fn,
 	if (fn == NULL) {
 		sd_err(("%s: interrupt handler is NULL, not registering\n",
 			__func__));
-		return SDIOH_API_RC_FAIL;
+		return -EINVAL;
 	}
 
 	sd->intr_handler = fn;
@@ -209,7 +210,7 @@ brcmf_sdioh_interrupt_register(struct sdioh_info *sd, sdioh_cb_fn_t fn,
 		sdio_release_host(gInstance->func[1]);
 	}
 
-	return SDIOH_API_RC_SUCCESS;
+	return 0;
 }
 
 extern int brcmf_sdioh_interrupt_deregister(struct sdioh_info *sd)
@@ -235,7 +236,7 @@ extern int brcmf_sdioh_interrupt_deregister(struct sdioh_info *sd)
 	sd->intr_handler = NULL;
 	sd->intr_handler_arg = NULL;
 
-	return SDIOH_API_RC_SUCCESS;
+	return 0;
 }
 
 extern int
@@ -243,7 +244,7 @@ brcmf_sdioh_interrupt_query(struct sdioh_info *sd, bool *onoff)
 {
 	sd_trace(("%s: Entering\n", __func__));
 	*onoff = sd->client_intr_enabled;
-	return SDIOH_API_RC_SUCCESS;
+	return 0;
 }
 
 #if defined(BCMDBG)
@@ -504,7 +505,7 @@ brcmf_sdioh_cis_read(struct sdioh_info *sd, uint func, u8 *cisd, u32 length)
 	if (!sd->func_cis_ptr[func]) {
 		memset(cis, 0, length);
 		sd_err(("%s: no func_cis_ptr[%d]\n", __func__, func));
-		return SDIOH_API_RC_FAIL;
+		return -ENOTSUPP;
 	}
 
 	sd_err(("%s: func_cis_ptr[%d]=0x%04x\n", __func__, func,
@@ -515,14 +516,14 @@ brcmf_sdioh_cis_read(struct sdioh_info *sd, uint func, u8 *cisd, u32 length)
 		if (brcmf_sdioh_card_regread(sd, 0, offset, 1, &foo) < 0) {
 			sd_err(("%s: regread failed: Can't read CIS\n",
 				__func__));
-			return SDIOH_API_RC_FAIL;
+			return -EIO;
 		}
 
 		*cis = (u8) (foo & 0xff);
 		cis++;
 	}
 
-	return SDIOH_API_RC_SUCCESS;
+	return 0;
 }
 
 extern int
@@ -535,7 +536,7 @@ brcmf_sdioh_request_byte(struct sdioh_info *sd, uint rw, uint func,
 		 regaddr));
 
 	BRCMF_PM_RESUME_WAIT(sdioh_request_byte_wait);
-	BRCMF_PM_RESUME_RETURN_ERROR(SDIOH_API_RC_FAIL);
+	BRCMF_PM_RESUME_RETURN_ERROR(-EIO);
 	if (rw) {		/* CMD52 Write */
 		if (func == 0) {
 			/* Can only directly write to some F0 registers.
@@ -619,25 +620,25 @@ brcmf_sdioh_request_byte(struct sdioh_info *sd, uint rw, uint func,
 			"Err: %d\n", rw ? "Write" : "Read", func, regaddr,
 			*byte, err_ret));
 
-	return ((err_ret == 0) ? SDIOH_API_RC_SUCCESS : SDIOH_API_RC_FAIL);
+	return err_ret;
 }
 
 extern int
 brcmf_sdioh_request_word(struct sdioh_info *sd, uint cmd_type, uint rw,
 			 uint func, uint addr, u32 *word, uint nbytes)
 {
-	int err_ret = SDIOH_API_RC_FAIL;
+	int err_ret = -EIO;
 
 	if (func == 0) {
 		sd_err(("%s: Only CMD52 allowed to F0.\n", __func__));
-		return SDIOH_API_RC_FAIL;
+		return -EINVAL;
 	}
 
 	sd_info(("%s: cmd_type=%d, rw=%d, func=%d, addr=0x%05x, nbytes=%d\n",
 		 __func__, cmd_type, rw, func, addr, nbytes));
 
 	BRCMF_PM_RESUME_WAIT(sdioh_request_word_wait);
-	BRCMF_PM_RESUME_RETURN_ERROR(SDIOH_API_RC_FAIL);
+	BRCMF_PM_RESUME_RETURN_ERROR(-EIO);
 	/* Claim host controller */
 	sdio_claim_host(gInstance->func[func]);
 
@@ -672,7 +673,7 @@ brcmf_sdioh_request_word(struct sdioh_info *sd, uint cmd_type, uint rw,
 			rw ? "Write" : "Read", err_ret));
 	}
 
-	return ((err_ret == 0) ? SDIOH_API_RC_SUCCESS : SDIOH_API_RC_FAIL);
+	return err_ret;
 }
 
 static int
@@ -689,7 +690,7 @@ brcmf_sdioh_request_packet(struct sdioh_info *sd, uint fix_inc, uint write,
 
 	ASSERT(pkt);
 	BRCMF_PM_RESUME_WAIT(sdioh_request_packet_wait);
-	BRCMF_PM_RESUME_RETURN_ERROR(SDIOH_API_RC_FAIL);
+	BRCMF_PM_RESUME_RETURN_ERROR(-EIO);
 
 	/* Claim host controller */
 	sdio_claim_host(gInstance->func[func]);
@@ -746,7 +747,7 @@ brcmf_sdioh_request_packet(struct sdioh_info *sd, uint fix_inc, uint write,
 	sdio_release_host(gInstance->func[func]);
 
 	sd_trace(("%s: Exit\n", __func__));
-	return ((err_ret == 0) ? SDIOH_API_RC_SUCCESS : SDIOH_API_RC_FAIL);
+	return err_ret;
 }
 
 /*
@@ -775,7 +776,7 @@ brcmf_sdioh_request_buffer(struct sdioh_info *sd, uint pio_dma, uint fix_inc,
 	sd_trace(("%s: Enter\n", __func__));
 
 	BRCMF_PM_RESUME_WAIT(sdioh_request_buffer_wait);
-	BRCMF_PM_RESUME_RETURN_ERROR(SDIOH_API_RC_FAIL);
+	BRCMF_PM_RESUME_RETURN_ERROR(-EIO);
 	/* Case 1: we don't have a packet. */
 	if (pkt == NULL) {
 		sd_data(("%s: Creating new %s Packet, len=%d\n",
@@ -784,7 +785,7 @@ brcmf_sdioh_request_buffer(struct sdioh_info *sd, uint pio_dma, uint fix_inc,
 		if (!mypkt) {
 			sd_err(("%s: brcmu_pkt_buf_get_skb failed: len %d\n",
 				__func__, buflen_u));
-			return SDIOH_API_RC_FAIL;
+			return -EIO;
 		}
 
 		/* For a write, copy the buffer data into the packet. */
@@ -811,7 +812,7 @@ brcmf_sdioh_request_buffer(struct sdioh_info *sd, uint pio_dma, uint fix_inc,
 		if (!mypkt) {
 			sd_err(("%s: brcmu_pkt_buf_get_skb failed: len %d\n",
 				__func__, pkt->len));
-			return SDIOH_API_RC_FAIL;
+			return -EIO;
 		}
 
 		/* For a write, copy the buffer data into the packet. */
@@ -848,7 +849,7 @@ extern int brcmf_sdioh_abort(struct sdioh_info *sd, uint func)
 			   &t_func);
 
 	sd_trace(("%s: Exit\n", __func__));
-	return SDIOH_API_RC_SUCCESS;
+	return 0;
 }
 
 /* Reset and re-initialize the device */
@@ -856,7 +857,7 @@ int brcmf_sdioh_reset(struct sdioh_info *si)
 {
 	sd_trace(("%s: Enter\n", __func__));
 	sd_trace(("%s: Exit\n", __func__));
-	return SDIOH_API_RC_SUCCESS;
+	return 0;
 }
 
 /* Disable device interrupt */
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c
index 39b0cbe..f10cddd 100644
--- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c
+++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c
@@ -20,6 +20,7 @@
 #include <linux/mmc/card.h>
 #include <linux/mmc/sdio_func.h>
 #include <linux/mmc/sdio_ids.h>
+#include <linux/errno.h>
 #include <net/cfg80211.h>
 
 #include <defs.h>
@@ -227,7 +228,7 @@ int brcmf_sdioh_interrupt_set(struct sdioh_info *sd, bool enable)
 	if (enable && !(sd->intr_handler && sd->intr_handler_arg)) {
 		sd_err(("%s: no handler registered, will not enable\n",
 			__func__));
-		return SDIOH_API_RC_FAIL;
+		return -EINVAL;
 	}
 
 	/* Ensure atomicity for enable/disable calls */
@@ -241,7 +242,7 @@ int brcmf_sdioh_interrupt_set(struct sdioh_info *sd, bool enable)
 
 	spin_unlock_irqrestore(&sdos->lock, flags);
 
-	return SDIOH_API_RC_SUCCESS;
+	return 0;
 }
 
 /*
-- 
1.7.1



  parent reply	other threads:[~2011-06-29 23:49 UTC|newest]

Thread overview: 142+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29 23:46 [PATCH 000/119] staging: brcm80211: more code cleanup and bug fixed Franky Lin
2011-06-29 23:46 ` [PATCH 001/119] staging: brcm80211: fix checkpatch errors in types.h Franky Lin
2011-06-29 23:46 ` [PATCH 002/119] staging:brcm80211:brcmfmac: CONNECTING status bit is set at appropriate location Franky Lin
2011-06-29 23:46 ` [PATCH 003/119] staging: brcm80211: remove flash related code from initvars_srom_pci() Franky Lin
2011-06-29 23:46 ` [PATCH 004/119] staging: brcm80211: minor cleanup in initvars_srom_pci() Franky Lin
2011-06-29 23:46 ` [PATCH 005/119] staging: brcm80211: make use of linux error codes in srom.c Franky Lin
2011-06-29 23:46 ` [PATCH 006/119] staging: brcm80211: remove unused sdtxlock from fullmac Franky Lin
2011-06-29 23:46 ` [PATCH 007/119] staging: brcm80211: remove empty sdrxqlock " Franky Lin
2011-06-29 23:46 ` [PATCH 008/119] staging: brcm80211: move sdtxqlock codes to dhd_sdio.c Franky Lin
2011-06-29 23:46 ` [PATCH 009/119] staging: brcm80211: remove unused files from fullmac Franky Lin
2011-06-29 23:46 ` [PATCH 010/119] staging: brcm80211: remove code for unsupported chipsets from brcmsmac Franky Lin
2011-06-29 23:46 ` [PATCH 011/119] staging: brcm80211: remove unsupported chipset code from brcmsmac phy Franky Lin
2011-06-29 23:46 ` [PATCH 012/119] staging: brcm80211: remove otp power control functions Franky Lin
2011-06-29 23:46 ` [PATCH 013/119] staging: brcm80211: remove code from pmu.c related to unsupported chipsets Franky Lin
2011-06-29 23:46 ` [PATCH 014/119] staging: brcm80211: remove unused macro definitions from pmu.c Franky Lin
2011-06-29 23:46 ` [PATCH 015/119] staging: brcm80211: remove chip simulation specific code Franky Lin
2011-06-29 23:46 ` [PATCH 016/119] staging: brcm80211: remove macro FOREACH_AS_STA Franky Lin
2011-06-29 23:46 ` [PATCH 017/119] staging: brcm80211: change FOREACH_BSS macro to remove checkpatch error Franky Lin
2011-06-30  8:37   ` Dan Carpenter
2011-06-30 10:19     ` Arend van Spriel
2011-07-05 14:11       ` Arend van Spriel
2011-07-05 16:59         ` Greg KH
2011-06-29 23:46 ` [PATCH 018/119] staging: brcm80211: remove macro definition DRV_MODULE_NAME Franky Lin
2011-06-29 23:46 ` [PATCH 019/119] staging: brcm80211: get rid on IS_CFG80211_FAVORITE macro Franky Lin
2011-06-29 23:46 ` [PATCH 020/119] staging: brcm80211: move assert function to dhd_linux.c Franky Lin
2011-06-29 23:46 ` [PATCH 021/119] staging: brcm80211: parsed ADDBA response ack window parameter Franky Lin
2011-06-29 23:46 ` [PATCH 022/119] staging: brcm80211: taking max AMPDU length advertized by peer into account Franky Lin
2011-06-29 23:46 ` [PATCH 023/119] staging: brcm80211: corrected tx status feedback for non AMPDU packets Franky Lin
2011-06-29 23:46 ` [PATCH 024/119] staging: brcm80211: Changed comments Franky Lin
2011-06-29 23:46 ` [PATCH 025/119] staging: brcm80211: removed unneeded 'if' statement Franky Lin
2011-06-29 23:46 ` [PATCH 026/119] staging: brcm80211: delete empty brcmfmac/README file Franky Lin
2011-06-29 23:46 ` [PATCH 027/119] staging: brcm80211: run scripts/cleanfile to remove whitespace errors Franky Lin
2011-06-29 23:46 ` [PATCH 028/119] staging: brcm80211: cleanup " Franky Lin
2011-06-29 23:46 ` [PATCH 029/119] staging: brcm80211: add missing KERN_ facility level to printk() Franky Lin
2011-06-29 23:46 ` [PATCH 030/119] staging: brcm80211: flatten wlc_phy_shared_detach() Franky Lin
2011-06-29 23:46 ` [PATCH 031/119] staging: brcm80211: remove unnecessary null check Franky Lin
2011-06-29 23:46 ` [PATCH 032/119] staging: brcm80211: reorg brcms_c_validboardtype for clarity Franky Lin
2011-06-29 23:46 ` [PATCH 033/119] staging: brcm80211: correct bcmsdh_recv_buf() calls Franky Lin
2011-06-29 23:46 ` [PATCH 034/119] staging: brcm80211: remove wireless extensions support from brcmfmac Franky Lin
2011-06-29 23:46 ` [PATCH 035/119] staging: brcm80211: replaced prefix of SDIO related functions Franky Lin
2011-06-29 23:47 ` [PATCH 036/119] staging: brcm80211: remove dhd_set_timer function prototype Franky Lin
2011-06-29 23:47 ` [PATCH 037/119] staging: brcm80211: remove unused globals from dhd_common.c Franky Lin
2011-06-29 23:47 ` [PATCH 038/119] staging: brcm80211: remove extern function prototypes from c files Franky Lin
2011-06-29 23:47 ` [PATCH 039/119] staging: brcm80211: rename functions and variables in dhd_common.c Franky Lin
2011-06-29 23:47 ` [PATCH 040/119] staging: brcm80211: rename ioctl command codes in dhd.h Franky Lin
2011-06-29 23:47 ` [PATCH 041/119] staging: brcm80211: remove unused definitions from dhd.h Franky Lin
2011-06-29 23:47 ` [PATCH 042/119] staging: brcm80211: replace macro BCM_MSG_IFNAME_MAX with IFNAMSIZ Franky Lin
2011-06-29 23:47 ` [PATCH 043/119] staging: brcm80211: rename event handling definition Franky Lin
2011-06-29 23:47 ` [PATCH 044/119] staging: brcm80211: rename module parameters Franky Lin
2011-06-29 23:47 ` [PATCH 045/119] staging: brcm80211: remove unnecessary abstraction for scheduler Franky Lin
2011-06-29 23:47 ` [PATCH 046/119] staging: brcm80211: rename fullmac functions Franky Lin
2011-06-29 23:47 ` [PATCH 047/119] staging: brcm80211: remove unused prototypes from dhd.h Franky Lin
2011-06-29 23:47 ` [PATCH 048/119] staging: brcm80211: removed BDC defines Franky Lin
2011-06-29 23:47 ` [PATCH 049/119] staging: brcm80211: rename fullmac protocol related functions Franky Lin
2011-06-29 23:47 ` [PATCH 050/119] staging: brcm80211: get rid of PKT[TO/FROM]NATIVE macros Franky Lin
2011-06-29 23:47 ` [PATCH 051/119] staging: brcm80211: rename dhd_prot and get rid of dhd_prot_t typedef Franky Lin
2011-06-29 23:47 ` [PATCH 052/119] staging: brcm80211: remove conditional SIMPLE_ISCAN code Franky Lin
2011-06-29 23:47 ` [PATCH 053/119] staging: brcm80211: rename netdevice related functions in fullmac Franky Lin
2011-06-29 23:47 ` [PATCH 054/119] staging: brcm80211: rename static functions in dhd_linux.c Franky Lin
2011-06-29 23:47 ` [PATCH 055/119] staging: brcm80211: rename more brcmfmac module parameters Franky Lin
2011-06-29 23:47 ` [PATCH 056/119] staging: brcm80211: replaced typedef sdioh_info_t by struct sdioh_info Franky Lin
2011-06-29 23:47 ` [PATCH 057/119] staging: brcm80211: replaced typedef bcmsdh_info_t by struct brcmf_sdio Franky Lin
2011-06-29 23:47 ` [PATCH 058/119] staging: brcm80211: replaced typedef by struct for several sdio types Franky Lin
2011-06-29 23:47 ` [PATCH 059/119] staging: brcm80211: replaced typedef SDIOH_API_RC by int Franky Lin
2011-06-29 23:47 ` [PATCH 060/119] staging: brcm80211: replaced more sdio related typedefs by structs Franky Lin
2011-06-29 23:47 ` [PATCH 061/119] staging: brcm80211: further renaming in fullmac sources Franky Lin
2011-07-05  7:36   ` Dan Carpenter
2011-07-05 14:15     ` Roland Vossen
2011-07-05 17:38       ` Dan Carpenter
2011-06-29 23:47 ` [PATCH 062/119] staging: brcm80211: remove ARP_OFFLOAD_SUPPORT macro definition Franky Lin
2011-06-29 23:47 ` [PATCH 063/119] staging: brcm80211: remove PKT_FILTER_SUPPORT " Franky Lin
2011-06-29 23:47 ` [PATCH 064/119] staging: brcm80211: remove BCMLXSDMMC " Franky Lin
2011-06-29 23:47 ` [PATCH 065/119] staging: brcm80211: always enable code for PLATFORM_BUS functionality Franky Lin
2011-06-29 23:47 ` [PATCH 066/119] staging: brcm80211: remove DHD_SCHED macro definition Franky Lin
2011-06-29 23:47 ` [PATCH 067/119] staging: brcm80211: remove EMBEDDED_PLATFORM " Franky Lin
2011-06-29 23:47 ` [PATCH 068/119] staging: brcm80211: remove MMC_SDIO_ABORT " Franky Lin
2011-06-29 23:47 ` [PATCH 069/119] staging: brcm80211: remove TOE " Franky Lin
2011-06-29 23:47 ` [PATCH 070/119] staging: brcm80211: define SHOW_EVENTS macro only for debugging Franky Lin
2011-06-29 23:47 ` [PATCH 071/119] staging: brcm80211: replace DHD_DEBUG macro with BCMDBG Franky Lin
2011-06-29 23:47 ` [PATCH 072/119] staging: brcm80211: remove unnecessary macro defintions Franky Lin
2011-06-29 23:47 ` [PATCH 073/119] staging: brcm80211: remove custom gpio support code Franky Lin
2011-06-29 23:47 ` [PATCH 074/119] staging: brcm80211: remove conditional code fragments from brcmfmac Franky Lin
2011-06-29 23:47 ` [PATCH 075/119] staging: brcm80211: rename EPI_VERSION_STR macro Franky Lin
2011-06-29 23:47 ` [PATCH 076/119] staging: brcm80211: use linux native ethertype iso ETH_P_BRCM Franky Lin
2011-06-29 23:47 ` [PATCH 077/119] staging: brcm80211: move sdio related suspend/resume code to bus interface layer Franky Lin
2011-06-29 23:47 ` [PATCH 078/119] staging: brcm80211: move waitqueue code to dhd_sdio.c Franky Lin
2011-06-29 23:47 ` [PATCH 079/119] staging: brcm80211: move fullmac watchdog timer " Franky Lin
2011-06-29 23:47 ` [PATCH 080/119] staging: brcm80211: move debug console related " Franky Lin
2011-06-29 23:47 ` [PATCH 081/119] staging: brcm80211: move dpc " Franky Lin
2011-06-29 23:47 ` [PATCH 082/119] staging: brcm80211: move sdio resource lock " Franky Lin
2011-06-29 23:47 ` [PATCH 083/119] staging: brcm80211: clean up firmware download code in fullmac Franky Lin
2011-06-29 23:47 ` [PATCH 084/119] staging: brcm80211: rename function variables Franky Lin
2011-06-29 23:47 ` [PATCH 085/119] staging: brcm80211: remove unused definitions from dhd.h Franky Lin
2011-06-29 23:47 ` [PATCH 086/119] staging: brcm80211: rename structure definitions in dhd.h Franky Lin
2011-06-29 23:47 ` [PATCH 087/119] staging: brcm80211: rename macro " Franky Lin
2011-06-29 23:47 ` [PATCH 088/119] staging: brcm80211: remove unused macro definitions from dhd.h Franky Lin
2011-06-29 23:47 ` [PATCH 089/119] staging: brcm80211: structure renaming in dhd.h Franky Lin
2011-06-29 23:47 ` [PATCH 090/119] staging: brcm80211: rename structure definitions in dhd_linux.c Franky Lin
2011-06-29 23:47 ` [PATCH 091/119] staging: brcm80211: rename struct dhd_pub to struct brcmf_pub Franky Lin
2011-06-29 23:47 ` Franky Lin [this message]
2011-06-29 23:47 ` [PATCH 093/119] staging: brcm80211: removed global function declarations from .c files Franky Lin
2011-06-29 23:47 ` [PATCH 094/119] staging: brcm80211: removed last occurrences of bcmsdh/BCMSDH Franky Lin
2011-07-05  9:59   ` Dan Carpenter
2011-07-05 12:31     ` Arend van Spriel
2011-06-29 23:47 ` [PATCH 095/119] staging: brcm80211: sdh related code cleanup Franky Lin
2011-06-29 23:48 ` [PATCH 096/119] staging: brcm80211: removed brcmf_sdioh_interrupt_pending() Franky Lin
2011-06-29 23:48 ` [PATCH 097/119] staging: brcm80211: removed brcmf_sdioh_reset() Franky Lin
2011-06-29 23:48 ` [PATCH 098/119] staging: brcm80211: removed brcmf_sdioh_start() and brcmf_sdioh_stop() Franky Lin
2011-06-29 23:48 ` [PATCH 099/119] staging: brcm80211: removed file sdiovar.h Franky Lin
2011-06-29 23:48 ` [PATCH 100/119] staging: brcm80211: further cleaned fullmac header files Franky Lin
2011-06-29 23:48 ` [PATCH 101/119] staging: brcm80211: removed last global function declaration in .c file Franky Lin
2011-06-29 23:48 ` [PATCH 102/119] staging: brcm80211: rename function variables Franky Lin
2011-06-29 23:48 ` [PATCH 103/119] staging: brcm80211: remove unused macros from dhd_dbg.h Franky Lin
2011-06-29 23:48 ` [PATCH 104/119] staging: brcm80211: rename dhd_bus structure and functions Franky Lin
2011-06-29 23:48 ` [PATCH 105/119] staging: brcm80211: rename static functions in wl_cfg80211.c Franky Lin
2011-06-29 23:48 ` [PATCH 106/119] staging: brcm80211: removed last typedefs from fullmac Franky Lin
2011-06-29 23:48 ` [PATCH 107/119] staging: brcm80211: removed unused code and definitions " Franky Lin
2011-06-29 23:48 ` [PATCH 108/119] staging: brcm80211: fullmac register access macro's take u32 instead of pointers Franky Lin
2011-06-29 23:48 ` [PATCH 109/119] staging: brcm80211: replaced macro R_SDREG by function r_sdreg() Franky Lin
2011-06-29 23:48 ` [PATCH 110/119] staging: brcm80211: replaced macro W_SDREG by function w_sdreg() Franky Lin
2011-06-29 23:48 ` [PATCH 111/119] staging: brcm80211: got rid of redundant member 'regs' of struct dhd_bus Franky Lin
2011-06-29 23:48 ` [PATCH 112/119] staging: brcm80211: removed last amd64 compiler warnings Franky Lin
2011-06-29 23:48 ` [PATCH 113/119] staging: brcm80211: W_REG macro cleanup in fullmac SDIO Franky Lin
2011-06-29 23:48 ` [PATCH 114/119] staging: brcm80211: removed unused definitions from dhd_sdio.c Franky Lin
2011-06-29 23:48 ` [PATCH 115/119] staging: brcm80211: rename structures and variables in wl_cfg80211.c Franky Lin
2011-06-29 23:48 ` [PATCH 116/119] staging: brcm80211: rename pointer conversion macros in wl_cfg80211.h Franky Lin
2011-06-29 23:48 ` [PATCH 117/119] staging: brcm80211: rename external function in wl_cfg80211.c Franky Lin
2011-06-29 23:48 ` [PATCH 118/119] staging: brcm80211: fix for reported log spam problem Franky Lin
2011-06-29 23:48 ` [PATCH 119/119] staging: brcm80211: updated TODO file Franky Lin
2011-06-30  6:29 ` [PATCH 000/119] staging: brcm80211: more code cleanup and bug fixed Rafał Miłecki
2011-06-30  6:59   ` Arend van Spriel
2011-06-30 17:42   ` Henry Ptasinski
2011-06-30 18:32     ` Dan Carpenter
2011-06-30 21:40       ` Henry Ptasinski
2011-07-01  0:05         ` Dan Carpenter
2011-07-01  0:14           ` Greg KH
2011-06-30 20:16     ` Luciano Coelho
2011-06-30 21:22       ` Henry Ptasinski
2011-07-05 16:59 ` Greg KH
2011-07-05 19:15   ` Arend van Spriel
2011-07-05 19:46     ` Arend van Spriel
2011-07-06  1:58       ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1309391303-22741-93-git-send-email-frankyl@broadcom.com \
    --to=frankyl@broadcom.com \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@suse.de \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).