staging: brcm80211: deleted sbconfig.h, renamed sbcc.h

Code cleanup.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Roland Vossen 2011-06-01 13:45:30 +02:00 committed by Greg Kroah-Hartman
parent d5f27a8f89
commit 745c9e6ebc
15 changed files with 23 additions and 44 deletions

View File

@ -131,7 +131,7 @@ typedef struct {
} rte_cons_t; } rte_cons_t;
#endif /* DHD_DEBUG */ #endif /* DHD_DEBUG */
#include <sbchipc.h> #include <chipcommon.h>
#include <sbdma.h> #include <sbdma.h>
#include <sdio.h> #include <sdio.h>

View File

@ -23,7 +23,7 @@
#include <bcmutils.h> #include <bcmutils.h>
#include <aiutils.h> #include <aiutils.h>
#include <bcmsoc.h> #include <bcmsoc.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <bcmdevs.h> #include <bcmdevs.h>
/* ********** from siutils.c *********** */ /* ********** from siutils.c *********** */

View File

@ -26,7 +26,7 @@
#include <bcmutils.h> #include <bcmutils.h>
#include <aiutils.h> #include <aiutils.h>
#include <bcmsoc.h> #include <bcmsoc.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <bcmotp.h> #include <bcmotp.h>
#define OTPS_GUP_MASK 0x00000f00 #define OTPS_GUP_MASK 0x00000f00

View File

@ -23,7 +23,7 @@
#include "wlc_types.h" #include "wlc_types.h"
#include <bcmutils.h> #include <bcmutils.h>
#include <bcmsoc.h> #include <bcmsoc.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <bcmdevs.h> #include <bcmdevs.h>
#include <nicpci.h> #include <nicpci.h>
#include <aiutils.h> #include <aiutils.h>

View File

@ -23,7 +23,7 @@
#include <aiutils.h> #include <aiutils.h>
#include <bcmsoc.h> #include <bcmsoc.h>
#include <bcmdevs.h> #include <bcmdevs.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <nicpci.h> #include <nicpci.h>
/* SPROM offsets */ /* SPROM offsets */

View File

@ -19,7 +19,7 @@
#include <bcmdefs.h> #include <bcmdefs.h>
#include <bcmutils.h> #include <bcmutils.h>
#include <bcmnvram.h> #include <bcmnvram.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <bcmdevs.h> #include <bcmdevs.h>
#include <bcmsoc.h> #include <bcmsoc.h>

View File

@ -25,7 +25,7 @@
#include <bcmdefs.h> #include <bcmdefs.h>
#include <bcmnvram.h> #include <bcmnvram.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <bcmdevs.h> #include <bcmdevs.h>
#include <sbdma.h> #include <sbdma.h>

View File

@ -21,7 +21,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <aiutils.h> #include <aiutils.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <wlc_pmu.h> #include <wlc_pmu.h>
#include <bcmdevs.h> #include <bcmdevs.h>

View File

@ -29,7 +29,7 @@
#include <bcmotp.h> #include <bcmotp.h>
#include <bcmutils.h> #include <bcmutils.h>
#include <bcmnvram.h> #include <bcmnvram.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <nicpci.h> #include <nicpci.h>
#include <sbdma.h> #include <sbdma.h>
#include <bcmdma.h> #include <bcmdma.h>

View File

@ -28,7 +28,7 @@
#include <bcmutils.h> #include <bcmutils.h>
#include <bcmwifi.h> #include <bcmwifi.h>
#include <aiutils.h> #include <aiutils.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <sbdma.h> #include <sbdma.h>
#include <bcmdma.h> #include <bcmdma.h>
#include <wlc_pmu.h> #include <wlc_pmu.h>

View File

@ -19,7 +19,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <bcmdevs.h> #include <bcmdevs.h>
#include <sbchipc.h> #include <chipcommon.h>
#include <bcmutils.h> #include <bcmutils.h>
#include <bcmnvram.h> #include <bcmnvram.h>
#include "wlc_pmu.h" #include "wlc_pmu.h"

View File

@ -95,4 +95,16 @@ typedef struct wl_rateset {
#define PM_MAX 1 #define PM_MAX 1
#define PM_FAST 2 #define PM_FAST 2
/*
* Sonics Configuration Space Registers.
*/
#define SBCONFIGOFF 0xf00 /* core sbconfig regs are top 256bytes of regs */
/* cpp contortions to concatenate w/arg prescan */
#ifndef PAD
#define _PADLINE(line) pad ## line
#define _XSTR(line) _PADLINE(line)
#define PAD _XSTR(__LINE__)
#endif
#endif /* _bcmdefs_h_ */ #endif /* _bcmdefs_h_ */

View File

@ -18,7 +18,6 @@
#define _HNDSOC_H #define _HNDSOC_H
/* Include the soci specific files */ /* Include the soci specific files */
#include <sbconfig.h>
#include <aidmp.h> #include <aidmp.h>
/* /*

View File

@ -1,32 +0,0 @@
/*
* Copyright (c) 2010 Broadcom Corporation
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _SBCONFIG_H
#define _SBCONFIG_H
/* cpp contortions to concatenate w/arg prescan */
#ifndef PAD
#define _PADLINE(line) pad ## line
#define _XSTR(line) _PADLINE(line)
#define PAD _XSTR(__LINE__)
#endif
/*
* Sonics Configuration Space Registers.
*/
#define SBCONFIGOFF 0xf00 /* core sbconfig regs are top 256bytes of regs */
#endif /* _SBCONFIG_H */