2018-01-27 00:04:31

by Krzysztof Mazur

[permalink] [raw]
Subject: [PATCH] ssb: Reenable PCI host on !MIPS

The commit 58eae1416b804d900014d84feadda7195007cc30
("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") disabled
CONFIG_SSB_PCIHOST and CONFIG_SSB_B43_PCI_BRIDGE, which are
required for SSB-based b43 PCI cards, on everything except MIPS
with PCI_DRIVERS_LEGACY, including x86 (only MIPS defines
that config option). Reenable it.

Signed-off-by: Krzysztof Mazur <[email protected]>
---
drivers/ssb/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 71c73766ee22..3dc57414e06b 100644
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -32,7 +32,7 @@ config SSB_BLOCKIO

config SSB_PCIHOST_POSSIBLE
bool
- depends on SSB && (PCI = y || PCI = SSB) && PCI_DRIVERS_LEGACY
+ depends on SSB && (PCI = y || PCI = SSB) && (!MIPS || PCI_DRIVERS_LEGACY)
default y

config SSB_PCIHOST
--
2.16.0.rc1.238.g530d649a7


2018-01-27 04:29:24

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] ssb: Reenable PCI host on !MIPS

Krzysztof Mazur <[email protected]> writes:

> The commit 58eae1416b804d900014d84feadda7195007cc30
> ("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") disabled
> CONFIG_SSB_PCIHOST and CONFIG_SSB_B43_PCI_BRIDGE, which are
> required for SSB-based b43 PCI cards, on everything except MIPS
> with PCI_DRIVERS_LEGACY, including x86 (only MIPS defines
> that config option). Reenable it.
>
> Signed-off-by: Krzysztof Mazur <[email protected]>

I have already applied an identical patch but missed the deadline for
final 4.15:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=a9e6d44ddeccd3522670e641f1ed9b068e746ff7

That patch will go to 4.16 and from there to 4.15 via the stable tree.

--
Kalle Valo

2018-01-27 07:38:58

by Krzysztof Mazur

[permalink] [raw]
Subject: Re: [PATCH] ssb: Reenable PCI host on !MIPS

On Sat, Jan 27, 2018 at 06:29:18AM +0200, Kalle Valo wrote:
> Krzysztof Mazur <[email protected]> writes:
>
> > The commit 58eae1416b804d900014d84feadda7195007cc30
> > ("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") disabled
> > CONFIG_SSB_PCIHOST and CONFIG_SSB_B43_PCI_BRIDGE, which are
> > required for SSB-based b43 PCI cards, on everything except MIPS
> > with PCI_DRIVERS_LEGACY, including x86 (only MIPS defines
> > that config option). Reenable it.
> >
> > Signed-off-by: Krzysztof Mazur <[email protected]>
>
> I have already applied an identical patch but missed the deadline for
> final 4.15:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=a9e6d44ddeccd3522670e641f1ed9b068e746ff7
>
> That patch will go to 4.16 and from there to 4.15 via the stable tree.

Thanks,

Krzysiek