Resubmitting the patch series. The driver contained a layer to abstract the actual interconnect bus in the chip device. These patches remove this layer and cleanup the underlying code for use by softmac and fullmac driver. Arend van Spriel (12): staging: brcm80211: separate hndpmu functionality for brcmsmac driver staging: brcm80211: remove dependency between aiutils and siutils sources staging: brcm80211: cleanup definitions in aiutils header file staging: brcm80211: cleanup code in source file aiutils.c staging: brcm80211: move aiutils source files to brcmsmac folder staging: brcm80211: include wlc_pmu.h for brcmsmac driver staging: brcm80211: move hndpmu sources to brcmfmac folder staging: brcm80211: remove unnecessary include from nvram_ro.c staging: brcm80211: remove check on interconnect type in ai_setcore staging: brcm80211: use local variable for socitype during ai_scan staging: brcm80211: remove socitype member for struct si_pub definition staging: brcm80211: remove functions not used by fullmac driver drivers/staging/brcm80211/brcmfmac/Makefile | 5 +- drivers/staging/brcm80211/brcmfmac/dhd_pmu.c | 779 +++++++ .../{include/hndpmu.h => brcmfmac/dhd_pmu.h} | 0 drivers/staging/brcm80211/brcmfmac/dhd_sdio.c | 2 +- drivers/staging/brcm80211/brcmfmac/hndpmu.c | 1 - drivers/staging/brcm80211/brcmsmac/Makefile | 5 +- drivers/staging/brcm80211/brcmsmac/aiutils.c | 2122 +++++++++++++++++++ drivers/staging/brcm80211/brcmsmac/aiutils.h | 546 +++++ drivers/staging/brcm80211/brcmsmac/d11.h | 2 + .../staging/brcm80211/brcmsmac/phy/wlc_phy_hal.h | 2 +- .../staging/brcm80211/brcmsmac/phy/wlc_phy_lcn.c | 4 +- drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_n.c | 10 +- drivers/staging/brcm80211/brcmsmac/wlc_alloc.c | 2 +- drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c | 2 +- drivers/staging/brcm80211/brcmsmac/wlc_antsel.c | 2 +- drivers/staging/brcm80211/brcmsmac/wlc_bmac.c | 56 +- drivers/staging/brcm80211/brcmsmac/wlc_channel.c | 2 +- drivers/staging/brcm80211/brcmsmac/wlc_main.c | 9 +- drivers/staging/brcm80211/brcmsmac/wlc_main.h | 2 +- drivers/staging/brcm80211/brcmsmac/wlc_phy_shim.c | 4 +- .../{util/hndpmu.c => brcmsmac/wlc_pmu.c} | 2186 +++++++++----------- .../{include/hndpmu.h => brcmsmac/wlc_pmu.h} | 40 +- drivers/staging/brcm80211/brcmsmac/wlc_rate.c | 2 +- drivers/staging/brcm80211/brcmsmac/wlc_stf.c | 2 +- drivers/staging/brcm80211/include/siutils.h | 25 - drivers/staging/brcm80211/util/aiutils.c | 705 ------- drivers/staging/brcm80211/util/bcmotp.c | 56 +- drivers/staging/brcm80211/util/bcmsrom.c | 10 +- drivers/staging/brcm80211/util/hnddma.c | 16 +- drivers/staging/brcm80211/util/nicpci.c | 12 +- drivers/staging/brcm80211/util/nvram/nvram_ro.c | 1 - drivers/staging/brcm80211/util/siutils.c | 452 +---- 32 files changed, 4550 insertions(+), 2514 deletions(-) create mode 100644 drivers/staging/brcm80211/brcmfmac/dhd_pmu.c copy drivers/staging/brcm80211/{include/hndpmu.h => brcmfmac/dhd_pmu.h} (100%) delete mode 100644 drivers/staging/brcm80211/brcmfmac/hndpmu.c create mode 100644 drivers/staging/brcm80211/brcmsmac/aiutils.c create mode 100644 drivers/staging/brcm80211/brcmsmac/aiutils.h rename drivers/staging/brcm80211/{util/hndpmu.c => brcmsmac/wlc_pmu.c} (82%) rename drivers/staging/brcm80211/{include/hndpmu.h => brcmsmac/wlc_pmu.h} (90%) delete mode 100644 drivers/staging/brcm80211/util/aiutils.c _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel