Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268018
b: refs/heads/master
c: f66a27d
h: refs/heads/master
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Aug 26, 2011
1 parent 6352700 commit e5f4003
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bf8b11069e9fbd3efab45e65e4a6aa2da383b9e
refs/heads/master: f66a27de208228f007c5812932e495fab48abff1
5 changes: 0 additions & 5 deletions trunk/drivers/staging/brcm80211/brcmfmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

ccflags-y := \
-DBRCMF_FIRSTREAD=64 \
-DBRCMF_SDALIGN=64 \
-DMAX_HDR_READ=64

ccflags-$(CONFIG_BRCMDBG) += -DSHOW_EVENTS

ccflags-y += \
Expand Down
7 changes: 1 addition & 6 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@
#define _BRCMF_BUS_H_

/* Packet alignment for most efficient SDIO (can change based on platform) */
#ifndef BRCMF_SDALIGN
#define BRCMF_SDALIGN 32
#endif
#if !ISPOWEROF2(BRCMF_SDALIGN)
#error BRCMF_SDALIGN is not a power of 2!
#endif
#define BRCMF_SDALIGN (1 << 6)

/*
* Exported from brcmf bus module (brcmf_usb, brcmf_sdio)
Expand Down
15 changes: 2 additions & 13 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,8 @@ struct rte_console {
#define MAX_DATA_BUF (32 * 1024) /* Must be large enough to hold
biggest possible glom */

#ifndef BRCMF_FIRSTREAD
#define BRCMF_FIRSTREAD 32
#endif
#define BRCMF_FIRSTREAD (1 << 6)

#if !ISPOWEROF2(BRCMF_FIRSTREAD)
#error BRCMF_FIRSTREAD is not a power of 2!
#endif

/* SBSDIO_DEVICE_CTL */

Expand Down Expand Up @@ -362,13 +357,7 @@ struct rte_console {


/* Space for header read, limit for data packets */
#ifndef MAX_HDR_READ
#define MAX_HDR_READ 32
#endif
#if !ISPOWEROF2(MAX_HDR_READ)
#error MAX_HDR_READ is not a power of 2!
#endif

#define MAX_HDR_READ (1 << 6)
#define MAX_RX_DATASZ 2048

/* Maximum milliseconds to wait for F2 to come up */
Expand Down

0 comments on commit e5f4003

Please sign in to comment.