All of lore.kernel.org
 help / color / mirror / Atom feed
* Wifi (B43) broken on G4 PowerBooks with kernel v4.15
@ 2018-01-31  9:37 Gabriel Paubert
  2018-01-31 10:03 ` James Hogan
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Paubert @ 2018-01-31  9:37 UTC (permalink / raw)
  To: linuxppc-dev, James Hogan

	Hi,

yesterday I recompiled the kernel on my late 2005 G4 PowerBook, and the
Wifi stopped working. After comparing the configuration is turns out
that a change to a Kconfig condition disabled SSB support which is
necessary for these chips.

The graph of configuration options is quite messy, and I'm not sure that
I fully understand it.

Nevertheless the following patch fixes the regression, but there might
be a better way to solve the problem.

If you pick up this trivial patch as is, you may add:

Signed-off-by: Gabriel Paubert <paubert@iram.es>

diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 71c7376..d189db6 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) && (PCI_DRIVERS_LEGACY || B43_SSB)
 	default y
 
 config SSB_PCIHOST

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Wifi (B43) broken on G4 PowerBooks with kernel v4.15
  2018-01-31  9:37 Wifi (B43) broken on G4 PowerBooks with kernel v4.15 Gabriel Paubert
@ 2018-01-31 10:03 ` James Hogan
  2018-01-31 10:22   ` Gabriel Paubert
  0 siblings, 1 reply; 3+ messages in thread
From: James Hogan @ 2018-01-31 10:03 UTC (permalink / raw)
  To: Gabriel Paubert; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

On Wed, Jan 31, 2018 at 10:37:30AM +0100, Gabriel Paubert wrote:
> 	Hi,
> 
> yesterday I recompiled the kernel on my late 2005 G4 PowerBook, and the
> Wifi stopped working. After comparing the configuration is turns out
> that a change to a Kconfig condition disabled SSB support which is
> necessary for these chips.
> 
> The graph of configuration options is quite messy, and I'm not sure that
> I fully understand it.
> 
> Nevertheless the following patch fixes the regression, but there might
> be a better way to solve the problem.
> 
> If you pick up this trivial patch as is, you may add:
> 
> Signed-off-by: Gabriel Paubert <paubert@iram.es>
> 
> diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
> index 71c7376..d189db6 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) && (PCI_DRIVERS_LEGACY || B43_SSB)
>  	default y
>  
>  config SSB_PCIHOST
> 

Yes, really sorry about that. There is a patch here:
https://patchwork.kernel.org/patch/10185397/

which is applied to linux-next as commit
a9e6d44ddeccd3522670e641f1ed9b068e746ff7.

Cheers
James

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wifi (B43) broken on G4 PowerBooks with kernel v4.15
  2018-01-31 10:03 ` James Hogan
@ 2018-01-31 10:22   ` Gabriel Paubert
  0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Paubert @ 2018-01-31 10:22 UTC (permalink / raw)
  To: James Hogan; +Cc: linuxppc-dev

On Wed, Jan 31, 2018 at 10:03:46AM +0000, James Hogan wrote:
> On Wed, Jan 31, 2018 at 10:37:30AM +0100, Gabriel Paubert wrote:
> > 	Hi,
> > 
> > yesterday I recompiled the kernel on my late 2005 G4 PowerBook, and the
> > Wifi stopped working. After comparing the configuration is turns out
> > that a change to a Kconfig condition disabled SSB support which is
> > necessary for these chips.
> > 
> > The graph of configuration options is quite messy, and I'm not sure that
> > I fully understand it.
> > 
> > Nevertheless the following patch fixes the regression, but there might
> > be a better way to solve the problem.
> > 
> > If you pick up this trivial patch as is, you may add:
> > 
> > Signed-off-by: Gabriel Paubert <paubert@iram.es>
> > 
> > diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
> > index 71c7376..d189db6 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) && (PCI_DRIVERS_LEGACY || B43_SSB)
> >  	default y
> >  
> >  config SSB_PCIHOST
> > 
> 
> Yes, really sorry about that. There is a patch here:
> https://patchwork.kernel.org/patch/10185397/

Ok, thanks, it's even better than my patch. I was not aware of that
patch: AFAIK it was not posted to one of the mailing I track, and it had
not percolated to Linus'tree which I pulled just before posting.

Sorry for the noise.

	Cheers,
	Gabriel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-31 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-31  9:37 Wifi (B43) broken on G4 PowerBooks with kernel v4.15 Gabriel Paubert
2018-01-31 10:03 ` James Hogan
2018-01-31 10:22   ` Gabriel Paubert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.