Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to expand ath9k to ath10k driver structure #113

Closed
wants to merge 78 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
5f68dec
Add localversion-wireless to identify builds from this tree.
linvjw Nov 1, 2010
16abdde
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 16, 2014
19cea52
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 17, 2014
a277ccb
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 19, 2014
3a4aeb0
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 20, 2014
9c54f7f
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 23, 2014
30a165c
Add localversion-wireless-ath
kvalo Apr 15, 2014
03552fa
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 25, 2014
e932392
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 25, 2014
29da352
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 26, 2014
4654cc0
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jun 30, 2014
608f580
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 1, 2014
0585268
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 3, 2014
febc3de
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 7, 2014
5f8b8bb
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 7, 2014
a20ad9d
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 7, 2014
b921009
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 10, 2014
f7f0edb
Merge remote-tracking branch 'wireless-testing/master'
kvalo Jul 14, 2014
687c74a
Merge branch 'ath-next'
kvalo Jul 14, 2014
646ae6c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 14, 2014
e0aa548
Merge branch 'ath-next'
kvalo Jul 15, 2014
3dd5196
rtl8723au: Corrections in the coding style
rapphil Jul 13, 2014
9f3d560
mwifiex: remove redundant TDLS setup action frame check and avoid leaks
bingz Jul 15, 2014
57bb768
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 15, 2014
6c00c7c
Revert "rtl8723au: Corrections in the coding style"
linvjw Jul 16, 2014
334063a
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 16, 2014
f51d61c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 18, 2014
c50db5d
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 18, 2014
38a7c47
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 21, 2014
169ff48
Merge branch 'ath-next'
kvalo Jul 21, 2014
4e4e6ff
Merge remote-tracking branch 'wireless-testing/master'
kvalo Jul 21, 2014
d248797
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 22, 2014
0f647af
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 22, 2014
22603ff
Merge branch 'ath-next'
kvalo Jul 22, 2014
cefa60d
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 23, 2014
9fe27ad
Merge branch 'ath-next'
kvalo Jul 25, 2014
2b5a2d8
Merge remote-tracking branch 'wireless-testing/master'
kvalo Jul 25, 2014
1639dc6
Merge branch 'ath-next'
kvalo Jul 25, 2014
9c9d98b
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 28, 2014
611b368
ath10k: improve 'hard' simulate fw crash
greearb Jul 25, 2014
24c88f7
ath10k: add support for 10.2 firmware
Jul 25, 2014
c382fb0
Merge branch 'ath-next'
kvalo Jul 28, 2014
72bdeb8
ath10k: fix aggregated 4addr Rx
Jul 28, 2014
76f5329
ath10k: extend debug code for RX path
dziedjan Jul 28, 2014
f7fbf82
Merge branch 'ath-next'
kvalo Jul 29, 2014
eaf1a52
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 29, 2014
6f9e3b4
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 29, 2014
75476da
Merge remote-tracking branch 'wireless-testing/master'
kvalo Jul 30, 2014
e9272bd
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Jul 31, 2014
dc55e30
ath10k: improve channel switching
Jul 29, 2014
49ac77c
Merge branch 'ath-next'
kvalo Aug 2, 2014
12cf2fc
Merge remote-tracking branch 'wireless-testing/master'
kvalo Aug 2, 2014
95752b7
ath: Move spectral debugfs structs to shared header
ecsv Aug 2, 2014
855aed1
ath10k: add spectral scan feature
simonwunderlich Aug 2, 2014
17dc0b8
ath6kl: convert a driver to use module_usb_driver()
himangi774 Aug 1, 2014
779f30f
Merge branch 'ath-next'
kvalo Aug 4, 2014
c41eca1
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
linvjw Aug 4, 2014
f673f3a
Merge remote-tracking branch 'wireless-testing/master'
kvalo Aug 7, 2014
adc8cbb
carl9170: fix sending URBs with wrong type when using full-speed
tanstafel Aug 7, 2014
d8a2973
brcmfmac: fix curly brace mistake in brcmf_pcie_handle_mb_data()
Aug 7, 2014
6dc1f19
brcmfmac: fix memory leakage in msgbuf
Aug 7, 2014
1796c5f
net: wireless: ipw2x00: ipw2200.c: Cleaning up missing null-terminate…
Aug 9, 2014
cff990c
ath10k: fix wmi service bitmap debug
Aug 4, 2014
9ff8b72
ath10k: simplify scan debug prints
Aug 5, 2014
5c81c7f
ath10k: introduce a stricter scan state machine
Aug 5, 2014
e7b5419
ath10k: embed ar_pci inside ar
Aug 7, 2014
c0c378f
ath10k: remove target soc ps code
Aug 7, 2014
0edf257
ath10k: remove pci features var
Aug 7, 2014
2986e3e
ath10k: group some pci probing helpers
Aug 7, 2014
b7967dc
ath10k: remove htc->stopped
Aug 7, 2014
6a69f0c
Merge branch 'ath-next'
kvalo Aug 12, 2014
82c8a52
Merge remote-tracking branch 'wireless-testing/master'
kvalo Aug 14, 2014
a9aefb3
ath10k: improve vdev map handling
greearb Aug 12, 2014
f2bc4d2
ath10k: fix typo in error message
greearb Aug 12, 2014
beb4be8
ath6kl: Add SDIO device ID for QCA6234X Support
Srinivas-Kandagatla Aug 12, 2014
1df4c99
Merge branch 'ath-next'
kvalo Aug 14, 2014
804eef1
ath10k: unregister spectral before mac
simonwunderlich Aug 12, 2014
f2c7cb7
Merge branch 'ath-next'
kvalo Aug 14, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions Documentation/devicetree/bindings/net/nfc/st21nfcb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
* STMicroelectronics SAS. ST21NFCB NFC Controller

Required properties:
- compatible: Should be "st,st21nfcb_i2c".
- clock-frequency: I²C work frequency.
- reg: address on the bus
- interrupt-parent: phandle for the interrupt gpio controller
- interrupts: GPIO interrupt to which the chip is connected
- reset-gpios: Output GPIO pin used to reset the ST21NFCB

Optional SoC Specific Properties:
- pinctrl-names: Contains only one value - "default".
- pintctrl-0: Specifies the pin control groups used for this controller.

Example (for ARM-based BeagleBoard xM with ST21NFCB on I2C2):

&i2c2 {

status = "okay";

st21nfcb: st21nfcb@8 {

compatible = "st,st21nfcb_i2c";

reg = <0x08>;
clock-frequency = <400000>;

interrupt-parent = <&gpio5>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;

reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Broadcom BCM43xx Fullmac wireless SDIO devices

This node provides properties for controlling the Broadcom wireless device. The
node is expected to be specified as a child node to the SDIO controller that
connects the device to the system.

Required properties:

- compatible : Should be "brcm,bcm4329-fmac".

Optional properties:
- brcm,drive-strength : drive strength used for SDIO pins on device in mA
(default = 6).
- interrupt-parent : the phandle for the interrupt controller to which the
device interrupts are connected.
- interrupts : specifies attributes for the out-of-band interrupt (host-wake).
When not specified the device will use in-band SDIO interrupts.
- interrupt-names : name of the out-of-band interrupt, which must be set
to "host-wake".

Example:

mmc3: mmc@01c12000 {
#address-cells = <1>;
#size-cells = <0>;

pinctrl-names = "default";
pinctrl-0 = <&mmc3_pins_a>;
vmmc-supply = <&reg_vmmc3>;
bus-width = <4>;
non-removable;
status = "okay";

brcmf: bcrmf@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac";
interrupt-parent = <&pio>;
interrupts = <10 8>; /* PH10 / EINT10 */
interrupt-names = "host-wake";
};
};
21 changes: 10 additions & 11 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ L: linux-scsi@vger.kernel.org
S: Maintained
F: drivers/scsi/53c700*

6LOWPAN GENERIC (BTLE/IEEE 802.15.4)
M: Alexander Aring <alex.aring@gmail.com>
L: linux-zigbee-devel@lists.sourceforge.net (moderated for non-subscribers)
L: linux-bluetooth@vger.kernel.org
S: Maintained
F: net/6lowpan/
F: include/net/6lowpan.h

6PACK NETWORK DRIVER FOR AX.25
M: Andreas Koensgen <ajk@comnets.uni-bremen.de>
L: linux-hams@vger.kernel.org
Expand Down Expand Up @@ -5655,16 +5663,6 @@ F: Documentation/networking/mac80211-injection.txt
F: include/net/mac80211.h
F: net/mac80211/

MAC80211 PID RATE CONTROL
M: Stefano Brivio <stefano.brivio@polimi.it>
M: Mattias Nissler <mattias.nissler@gmx.de>
L: linux-wireless@vger.kernel.org
W: http://wireless.kernel.org/en/developers/Documentation/mac80211/RateControl/PID
T: git git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.git
T: git git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
S: Maintained
F: net/mac80211/rc80211_pid*

MACVLAN DRIVER
M: Patrick McHardy <kaber@trash.net>
L: netdev@vger.kernel.org
Expand Down Expand Up @@ -5709,7 +5707,8 @@ S: Maintained
F: drivers/net/ethernet/marvell/mvneta.*

MARVELL MWIFIEX WIRELESS DRIVER
M: Bing Zhao <bzhao@marvell.com>
M: Amitkumar Karwar <akarwar@marvell.com>
M: Avinash Patil <patila@marvell.com>
L: linux-wireless@vger.kernel.org
S: Maintained
F: drivers/net/wireless/mwifiex/
Expand Down
1 change: 1 addition & 0 deletions drivers/bcma/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ bcma-y += driver_chipcommon.o driver_chipcommon_pmu.o
bcma-$(CONFIG_BCMA_SFLASH) += driver_chipcommon_sflash.o
bcma-$(CONFIG_BCMA_NFLASH) += driver_chipcommon_nflash.o
bcma-y += driver_pci.o
bcma-y += driver_pcie2.o
bcma-$(CONFIG_BCMA_DRIVER_PCI_HOSTMODE) += driver_pci_host.o
bcma-$(CONFIG_BCMA_DRIVER_MIPS) += driver_mips.o
bcma-$(CONFIG_BCMA_DRIVER_GMAC_CMN) += driver_gmac_cmn.o
Expand Down
2 changes: 2 additions & 0 deletions drivers/bcma/driver_chipcommon_pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,8 @@ void bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid)
tmp = BCMA_CC_PMU_CTL_PLL_UPD | BCMA_CC_PMU_CTL_NOILPONW;
break;

case BCMA_CHIP_ID_BCM43131:
case BCMA_CHIP_ID_BCM43217:
case BCMA_CHIP_ID_BCM43227:
case BCMA_CHIP_ID_BCM43228:
case BCMA_CHIP_ID_BCM43428:
Expand Down
1 change: 1 addition & 0 deletions drivers/bcma/driver_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ int bcma_gpio_init(struct bcma_drv_cc *cc)
#endif
switch (cc->core->bus->chipinfo.id) {
case BCMA_CHIP_ID_BCM5357:
case BCMA_CHIP_ID_BCM53572:
chip->ngpio = 32;
break;
default:
Expand Down
175 changes: 175 additions & 0 deletions drivers/bcma/driver_pcie2.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
/*
* Broadcom specific AMBA
* PCIe Gen 2 Core
*
* Copyright 2014, Broadcom Corporation
* Copyright 2014, Rafał Miłecki <zajec5@gmail.com>
*
* Licensed under the GNU/GPL. See COPYING for details.
*/

#include "bcma_private.h"
#include <linux/bcma/bcma.h>

/**************************************************
* R/W ops.
**************************************************/

#if 0
static u32 bcma_core_pcie2_cfg_read(struct bcma_drv_pcie2 *pcie2, u32 addr)
{
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, addr);
pcie2_read32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR);
return pcie2_read32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA);
}
#endif

static void bcma_core_pcie2_cfg_write(struct bcma_drv_pcie2 *pcie2, u32 addr,
u32 val)
{
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, addr);
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, val);
}

/**************************************************
* Init.
**************************************************/

static u32 bcma_core_pcie2_war_delay_perst_enab(struct bcma_drv_pcie2 *pcie2,
bool enable)
{
u32 val;

/* restore back to default */
val = pcie2_read32(pcie2, BCMA_CORE_PCIE2_CLK_CONTROL);
val |= PCIE2_CLKC_DLYPERST;
val &= ~PCIE2_CLKC_DISSPROMLD;
if (enable) {
val &= ~PCIE2_CLKC_DLYPERST;
val |= PCIE2_CLKC_DISSPROMLD;
}
pcie2_write32(pcie2, (BCMA_CORE_PCIE2_CLK_CONTROL), val);
/* flush */
return pcie2_read32(pcie2, BCMA_CORE_PCIE2_CLK_CONTROL);
}

static void bcma_core_pcie2_set_ltr_vals(struct bcma_drv_pcie2 *pcie2)
{
/* LTR0 */
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, 0x844);
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, 0x883c883c);
/* LTR1 */
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, 0x848);
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, 0x88648864);
/* LTR2 */
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, 0x84C);
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, 0x90039003);
}

static void bcma_core_pcie2_hw_ltr_war(struct bcma_drv_pcie2 *pcie2)
{
u8 core_rev = pcie2->core->id.rev;
u32 devstsctr2;

if (core_rev < 2 || core_rev == 10 || core_rev > 13)
return;

pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR,
PCIE2_CAP_DEVSTSCTRL2_OFFSET);
devstsctr2 = pcie2_read32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA);
if (devstsctr2 & PCIE2_CAP_DEVSTSCTRL2_LTRENAB) {
/* force the right LTR values */
bcma_core_pcie2_set_ltr_vals(pcie2);

/* TODO:
si_core_wrapperreg(pcie2, 3, 0x60, 0x8080, 0); */

/* enable the LTR */
devstsctr2 |= PCIE2_CAP_DEVSTSCTRL2_LTRENAB;
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR,
PCIE2_CAP_DEVSTSCTRL2_OFFSET);
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, devstsctr2);

/* set the LTR state to be active */
pcie2_write32(pcie2, BCMA_CORE_PCIE2_LTR_STATE,
PCIE2_LTR_ACTIVE);
usleep_range(1000, 2000);

/* set the LTR state to be sleep */
pcie2_write32(pcie2, BCMA_CORE_PCIE2_LTR_STATE,
PCIE2_LTR_SLEEP);
usleep_range(1000, 2000);
}
}

static void pciedev_crwlpciegen2(struct bcma_drv_pcie2 *pcie2)
{
u8 core_rev = pcie2->core->id.rev;
bool pciewar160, pciewar162;

pciewar160 = core_rev == 7 || core_rev == 9 || core_rev == 11;
pciewar162 = core_rev == 5 || core_rev == 7 || core_rev == 8 ||
core_rev == 9 || core_rev == 11;

if (!pciewar160 && !pciewar162)
return;

/* TODO */
#if 0
pcie2_set32(pcie2, BCMA_CORE_PCIE2_CLK_CONTROL,
PCIE_DISABLE_L1CLK_GATING);
#if 0
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR,
PCIEGEN2_COE_PVT_TL_CTRL_0);
pcie2_mask32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA,
~(1 << COE_PVT_TL_CTRL_0_PM_DIS_L1_REENTRY_BIT));
#endif
#endif
}

static void pciedev_crwlpciegen2_180(struct bcma_drv_pcie2 *pcie2)
{
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, PCIE2_PMCR_REFUP);
pcie2_set32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, 0x1f);
}

static void pciedev_crwlpciegen2_182(struct bcma_drv_pcie2 *pcie2)
{
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, PCIE2_SBMBX);
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, 1 << 0);
}

static void pciedev_reg_pm_clk_period(struct bcma_drv_pcie2 *pcie2)
{
struct bcma_drv_cc *drv_cc = &pcie2->core->bus->drv_cc;
u8 core_rev = pcie2->core->id.rev;
u32 alp_khz, pm_value;

if (core_rev <= 13) {
alp_khz = bcma_pmu_get_alp_clock(drv_cc) / 1000;
pm_value = (1000000 * 2) / alp_khz;
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR,
PCIE2_PVT_REG_PM_CLK_PERIOD);
pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, pm_value);
}
}

void bcma_core_pcie2_init(struct bcma_drv_pcie2 *pcie2)
{
struct bcma_chipinfo *ci = &pcie2->core->bus->chipinfo;
u32 tmp;

tmp = pcie2_read32(pcie2, BCMA_CORE_PCIE2_SPROM(54));
if ((tmp & 0xe) >> 1 == 2)
bcma_core_pcie2_cfg_write(pcie2, 0x4e0, 0x17);

/* TODO: Do we need pcie_reqsize? */

if (ci->id == BCMA_CHIP_ID_BCM4360 && ci->rev > 3)
bcma_core_pcie2_war_delay_perst_enab(pcie2, true);
bcma_core_pcie2_hw_ltr_war(pcie2);
pciedev_crwlpciegen2(pcie2);
pciedev_reg_pm_clk_period(pcie2);
pciedev_crwlpciegen2_180(pcie2);
pciedev_crwlpciegen2_182(pcie2);
}
2 changes: 2 additions & 0 deletions drivers/bcma/host_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ static const struct pci_device_id bcma_pci_bridge_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4358) },
{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4359) },
{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4365) },
{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x43a9) },
{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x43aa) },
{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4727) },
{ 0, },
};
Expand Down
8 changes: 8 additions & 0 deletions drivers/bcma/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ static int bcma_register_cores(struct bcma_bus *bus)
case BCMA_CORE_CHIPCOMMON:
case BCMA_CORE_PCI:
case BCMA_CORE_PCIE:
case BCMA_CORE_PCIE2:
case BCMA_CORE_MIPS_74K:
case BCMA_CORE_4706_MAC_GBIT_COMMON:
continue;
Expand Down Expand Up @@ -281,6 +282,13 @@ int bcma_bus_register(struct bcma_bus *bus)
bcma_core_pci_init(&bus->drv_pci[1]);
}

/* Init PCIe Gen 2 core */
core = bcma_find_core_unit(bus, BCMA_CORE_PCIE2, 0);
if (core) {
bus->drv_pcie2.core = core;
bcma_core_pcie2_init(&bus->drv_pcie2);
}

/* Init GBIT MAC COMMON core */
core = bcma_find_core(bus, BCMA_CORE_4706_MAC_GBIT_COMMON);
if (core) {
Expand Down
22 changes: 11 additions & 11 deletions drivers/bcma/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ static const struct bcma_device_id_name bcma_bcm_device_names[] = {
{ BCMA_CORE_4706_CHIPCOMMON, "BCM4706 ChipCommon" },
{ BCMA_CORE_4706_SOC_RAM, "BCM4706 SOC RAM" },
{ BCMA_CORE_4706_MAC_GBIT, "BCM4706 GBit MAC" },
{ BCMA_CORE_PCIEG2, "PCIe Gen 2" },
{ BCMA_CORE_DMA, "DMA" },
{ BCMA_CORE_SDIO3, "SDIO3" },
{ BCMA_CORE_USB20, "USB 2.0" },
{ BCMA_CORE_USB30, "USB 3.0" },
{ BCMA_CORE_A9JTAG, "ARM Cortex A9 JTAG" },
{ BCMA_CORE_DDR23, "Denali DDR2/DDR3 memory controller" },
{ BCMA_CORE_ROM, "ROM" },
{ BCMA_CORE_NAND, "NAND flash controller" },
{ BCMA_CORE_QSPI, "SPI flash controller" },
{ BCMA_CORE_CHIPCOMMON_B, "Chipcommon B" },
{ BCMA_CORE_NS_PCIEG2, "PCIe Gen 2" },
{ BCMA_CORE_NS_DMA, "DMA" },
{ BCMA_CORE_NS_SDIO3, "SDIO3" },
{ BCMA_CORE_NS_USB20, "USB 2.0" },
{ BCMA_CORE_NS_USB30, "USB 3.0" },
{ BCMA_CORE_NS_A9JTAG, "ARM Cortex A9 JTAG" },
{ BCMA_CORE_NS_DDR23, "Denali DDR2/DDR3 memory controller" },
{ BCMA_CORE_NS_ROM, "ROM" },
{ BCMA_CORE_NS_NAND, "NAND flash controller" },
{ BCMA_CORE_NS_QSPI, "SPI flash controller" },
{ BCMA_CORE_NS_CHIPCOMMON_B, "Chipcommon B" },
{ BCMA_CORE_ARMCA9, "ARM Cortex A9 core (ihost)" },
{ BCMA_CORE_AMEMC, "AMEMC (DDR)" },
{ BCMA_CORE_ALTA, "ALTA (I2S)" },
Expand Down
Loading