Skip to content

Commit

Permalink
staging: brcm80211: remove osl source files from driver
Browse files Browse the repository at this point in the history
The whole need for the OSL concept has been removed from the driver. This
is the final commit removing the source file and include file from the
driver repository. All include statements of osl.h have been removed from
the other source files.

Reviewed-by: Brett Rudley <brudley@broadcom.com>
Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@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 3, 2011
1 parent 3c9d4c3 commit 9cceab9
Show file tree
Hide file tree
Showing 43 changed files with 0 additions and 132 deletions.
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ DHDOFILES = \
bcmsdh_linux.o \
bcmsdh_sdmmc.o \
bcmsdh_sdmmc_linux.o \
linux_osl.o \
aiutils.o \
siutils.o \
sbutils.o \
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/bcmsdh.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <linux/netdevice.h>
#include <bcmdefs.h>
#include <bcmdevs.h>
#include <osl.h>
#include <bcmutils.h>
#include <hndsoc.h>
#include <siutils.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <linux/pci.h>
#include <linux/completion.h>

#include <osl.h>
#include <pcicfg.h>
#include <bcmdefs.h>
#include <bcmdevs.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/netdevice.h>
#include <bcmdefs.h>
#include <bcmdevs.h>
#include <osl.h>
#include <bcmutils.h>
#include <sdio.h> /* SDIO Device and Protocol Specs */
#include <sdioh.h> /* SDIO Host Controller Specification */
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/sched.h> /* request_irq() */
#include <linux/netdevice.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
#include <sdio.h> /* SDIO Specs */
#include <bcmsdbus.h> /* bcmsdh to/from specific controller APIs */
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/types.h>
#include <linux/netdevice.h>
#include <bcmdefs.h>
#include <osl.h>

#include <bcmutils.h>
#include <bcmcdc.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/dhd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/string.h>
#include <bcmdefs.h>
#include <linux/netdevice.h>
#include <osl.h>
#include <bcmutils.h>
#include <dngl_stats.h>
#include <dhd.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

#include <linux/netdevice.h>
#include <osl.h>
#include <bcmutils.h>

#include <dngl_stats.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>

#include <dngl_stats.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/types.h>
#include <bcmdefs.h>
#include <linux/netdevice.h>
#include <osl.h>
#include <bcmsdh.h>

#ifdef BCMEMBEDIMAGE
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/linux_osl.c

This file was deleted.

1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <linux/kernel.h>
#include <linux/if_arp.h>
#include <osl.h>

#include <bcmutils.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmfmac/wl_iw.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <linux/semaphore.h>
#include <bcmdefs.h>
#include <linux/netdevice.h>
#include <osl.h>
#include <wlioctl.h>

#include <bcmutils.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ BRCMSMAC_OFILES := \
phy/wlc_phy_n.o \
phy/wlc_phytbl_lcn.o \
phy/wlc_phytbl_n.o \
../util/linux_osl.o \
../util/aiutils.o \
../util/siutils.o \
../util/bcmutils.o \
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 @@ -19,7 +19,6 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <bcmdefs.h>
#include <osl.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/pci.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 @@ -20,7 +20,6 @@
#include <linux/delay.h>
#include <wlc_cfg.h>
#include <qmath.h>
#include <osl.h>
#include <linux/pci.h>
#include <siutils.h>
#include <hndpmu.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 @@ -20,7 +20,6 @@
#include <wlc_cfg.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <osl.h>
#include <siutils.h>
#include <sbchipc.h>
#include <hndpmu.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 @@ -16,7 +16,6 @@

#include <linux/types.h>
#include <sbhnddma.h>
#include <osl.h>
#include <wlc_phy_int.h>
#include <wlc_phytbl_lcn.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 @@ -17,7 +17,6 @@
#include <linux/kernel.h>

#include <sbhnddma.h>
#include <osl.h>
#include <wlc_phy_int.h>
#include <wlc_phytbl_n.h>

Expand Down
9 changes: 0 additions & 9 deletions drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <net/mac80211.h>

#include <proto/802.11.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmwifi.h>
#include <bcmutils.h>
Expand Down Expand Up @@ -729,7 +728,6 @@ static struct wl_info *wl_attach(u16 vendor, u16 device, unsigned long regs,
uint bustype, void *btparam, uint irq)
{
struct wl_info *wl;
struct osl_info *osh;
int unit, err;

unsigned long base_addr;
Expand All @@ -744,15 +742,11 @@ static struct wl_info *wl_attach(u16 vendor, u16 device, unsigned long regs,
return NULL;
}

osh = osl_attach(btparam, bustype);
ASSERT(osh);

/* allocate private info */
hw = pci_get_drvdata(btparam); /* btparam == pdev */
wl = hw->priv;
ASSERT(wl);

wl->osh = osh;
atomic_set(&wl->callbacks, 0);

/* setup the bottom half handler */
Expand Down Expand Up @@ -1397,9 +1391,6 @@ static void wl_free(struct wl_info *wl)
iounmap((void *)wl->regsva);
}
wl->regsva = NULL;


osl_detach(wl->osh);
}

/*
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wl_mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ struct wl_firmware {
struct wl_info {
struct wlc_pub *pub; /* pointer to public wlc state */
void *wlc; /* pointer to private common os-independent data */
struct osl_info *osh; /* pointer to os handler */
u32 magic;

int irq;
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 @@ -16,7 +16,6 @@
#include <linux/kernel.h>
#include <linux/types.h>

#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
#include <siutils.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 @@ -16,7 +16,6 @@
#include <linux/kernel.h>
#include <net/mac80211.h>

#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
#include <siutils.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 @@ -20,7 +20,6 @@
#include <linux/module.h>
#include <linux/pci.h>

#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
#include <siutils.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 @@ -22,7 +22,6 @@
#include <linux/etherdevice.h>

#include <proto/802.11.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmdevs.h>
#include <bcmwifi.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 @@ -19,7 +19,6 @@
#include <linux/module.h>
#include <linux/pci.h>

#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
#include <siutils.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include <bcmdefs.h>
#include <bcmdevs.h>
#include <osl.h>
#include <bcmutils.h>
#include <bcmwifi.h>
#include <siutils.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 @@ -26,7 +26,6 @@
#include <linux/pci.h>

#include <proto/802.11.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
#include <bcmwifi.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 @@ -18,7 +18,6 @@

#include <proto/802.11.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#include <wlioctl.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 @@ -20,7 +20,6 @@
#include <proto/802.11.h>

#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#include <wlioctl.h>
Expand Down
29 changes: 0 additions & 29 deletions drivers/staging/brcm80211/include/osl.h

This file was deleted.

1 change: 0 additions & 1 deletion drivers/staging/brcm80211/util/aiutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <bcmdefs.h>
#include <osl.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <bcmutils.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/util/bcmotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <bcmdefs.h>
#include <osl.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <bcmdevs.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/util/bcmsrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/string.h>
#include <linux/etherdevice.h>
#include <bcmdefs.h>
#include <osl.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <stdarg.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/util/bcmutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <linux/sched.h>
#include <bcmdefs.h>
#include <stdarg.h>
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#include <bcmnvram.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/util/bcmwifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
#include <linux/ctype.h>
#include <linux/kernel.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
#include <bcmwifi.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/util/hnddma.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <linux/pci.h>
#include <bcmdefs.h>
#include <bcmdevs.h>
#include <osl.h>
#include <hndsoc.h>
#include <bcmutils.h>
#include <siutils.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/util/hndpmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <linux/module.h>
#include <linux/pci.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
#include <siutils.h>
#include <bcmdevs.h>
Expand Down
Loading

0 comments on commit 9cceab9

Please sign in to comment.