Skip to content

Commit

Permalink
staging: brcm80211: remove include file sbhndpio.h
Browse files Browse the repository at this point in the history
All source files including sbhndpio.h were needing it only
because they needed d11.h and it had a dependency. The content
of sbhndpio.h has been merged in d11.h.

Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Mar 1, 2011
1 parent 70dfb58 commit 8a0939f
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 68 deletions.
31 changes: 31 additions & 0 deletions drivers/staging/brcm80211/brcmsmac/d11.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,37 @@ typedef volatile struct {
u32 intmask;
} intctrlregs_t;

/* PIO structure,
* support two PIO format: 2 bytes access and 4 bytes access
* basic FIFO register set is per channel(transmit or receive)
* a pair of channels is defined for convenience
*/
/* 2byte-wide pio register set per channel(xmt or rcv) */
typedef volatile struct {
u16 fifocontrol;
u16 fifodata;
u16 fifofree; /* only valid in xmt channel, not in rcv channel */
u16 PAD;
} pio2regs_t;

/* a pair of pio channels(tx and rx) */
typedef volatile struct {
pio2regs_t tx;
pio2regs_t rx;
} pio2regp_t;

/* 4byte-wide pio register set per channel(xmt or rcv) */
typedef volatile struct {
u32 fifocontrol;
u32 fifodata;
} pio4regs_t;

/* a pair of pio channels(tx and rx) */
typedef volatile struct {
pio4regs_t tx;
pio4regs_t rx;
} pio4regp_t;

/* read: 32-bit register that can be read as 32-bit or as 2 16-bit
* write: only low 16b-it half can be written
*/
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_cmn.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <bcmnvram.h>
#include <sbchipc.h>
#include <bcmdevs.h>
#include <sbhndpio.h>
#include <sbhnddma.h>

#include <wlc_phy_int.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_lcn.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <hndpmu.h>

#include <bcmdevs.h>
#include <sbhndpio.h>
#include <sbhnddma.h>

#include <wlc_phy_radio.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_n.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <hndpmu.h>

#include <bcmdevs.h>
#include <sbhndpio.h>
#include <sbhnddma.h>

#include <wlc_phy_radio.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/phy/wlc_phytbl_lcn.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

#include <linux/types.h>
#include <sbhndpio.h>
#include <sbhnddma.h>
#include <osl.h>
#include <wlc_phy_int.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/phy/wlc_phytbl_n.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <linux/kernel.h>

#include <sbhndpio.h>
#include <sbhnddma.h>
#include <osl.h>
#include <wlc_phy_int.h>
Expand Down
52 changes: 0 additions & 52 deletions drivers/staging/brcm80211/brcmsmac/sbhndpio.h

This file was deleted.

5 changes: 3 additions & 2 deletions drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@
#include <wlioctl.h>
#include <sbhnddma.h>

#include "phy/wlc_phy_int.h"
#include "d11.h"
#include "wlc_types.h"
#include "wlc_cfg.h"
#include "phy/phy_version.h"
#include "wlc_key.h"
#include "sbhndpio.h"
#include "phy/wlc_phy_hal.h"
#include "wlc_channel.h"
#include "wlc_scb.h"
#include "wlc_pub.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <wlioctl.h>
#include <sbhnddma.h>

#include "sbhndpio.h"
#include "d11.h"
#include "wlc_types.h"
#include "wlc_cfg.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <bcmutils.h>
#include <siutils.h>
#include <wlioctl.h>
#include <sbhndpio.h>
#include <sbhnddma.h>
#include <hnddma.h>
#include <d11.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_antsel.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <sbhnddma.h>
#include <wlioctl.h>

#include "sbhndpio.h"
#include "d11.h"
#include "wlc_rate.h"
#include "wlc_key.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <hndpmu.h>

#include "wlc_types.h"
#include "sbhndpio.h"
#include "d11.h"
#include "wlc_cfg.h"
#include "wlc_rate.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <wlioctl.h>

#include "wlc_types.h"
#include "sbhndpio.h"
#include "d11.h"
#include "wlc_cfg.h"
#include "wlc_scb.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <hnddma.h>
#include <hndpmu.h>

#include "sbhndpio.h"
#include "d11.h"
#include "wlc_types.h"
#include "wlc_cfg.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_phy_shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

#include "wlc_types.h"
#include "wl_dbg.h"
#include "sbhndpio.h"
#include "wlc_cfg.h"
#include "d11.h"
#include "wlc_rate.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <sbhnddma.h>

#include "wlc_types.h"
#include "sbhndpio.h"
#include "d11.h"
#include "wl_dbg.h"
#include "wlc_cfg.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_stf.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <sbhnddma.h>

#include "wlc_types.h"
#include "sbhndpio.h"
#include "d11.h"
#include "wl_dbg.h"
#include "wlc_cfg.h"
Expand Down

0 comments on commit 8a0939f

Please sign in to comment.