Re: bcm43xx regression in 2.6.24 (with patch)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Zaytsev
Date: Tuesday, February 26, 2008 - 5:23 pm

On Wed, Feb 27, 2008 at 1:47 AM, John W. Linville
<linville@tuxdriver.com> wrote:

Is there any reason the ssb driver should claim the bcm43xx pci ids in
the first place? I have very little understanding what the Sonic Silicon
Backplane really is, but I see that the b44 driver claims its PCI ids
directly. I also think I understand why the b43/b43legacy drivers can't
claim the ids directly: because the driver-device matching is done not
with the pci bus methods, but with the ssb bus methods, and it would
be impossible to automatically choose the right driver for the right
device (with same ssb ids), as the first of the two drivers loaded would
succeed in probe()'ing the pci "ssb bridge" device, and not letting the
other to take control, even after moments later the ssb probe for the
non-supported ssb device would fail. (Or am I completely wrong?)

That said, I still think that the ssb driver claims the wrong pci ids,
which is especially wrong if the the b43/b43legacy drivers are not
even built. And my patch fixes exactly this problem - the ssb driver
no more claims the broadcom pci ids, when the b43/b43legacy drivers
are not built.

One better solution I think might be to move the b43_pci_bridge.c
code to a separate module, and let the b43/b43legacy drivers
depend on it, but as I said, I have little knowledge in the
ssb stuff, so I did it the easy way.

Btw, at least in the 8139cp/8139too case the right driver is
chosen automatically, because they both can detect
the problem at the pci probe() time and tell the device
is not supported early.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Fri Feb 22, 4:17 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Fri Feb 22, 7:13 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Fri Feb 22, 10:48 am)
Re: bcm43xx regression in 2.6.24 (with patch), Gabriel C, (Fri Feb 22, 10:51 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Fri Feb 22, 10:56 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Fri Feb 22, 11:10 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Fri Feb 22, 1:06 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Fri Feb 22, 1:12 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Fri Feb 22, 1:38 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Greg KH, (Fri Feb 22, 3:10 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Greg KH, (Fri Feb 22, 3:12 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Fri Feb 22, 3:45 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Fri Feb 22, 10:48 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Ingo Molnar, (Sat Feb 23, 4:07 am)
Re: bcm43xx regression in 2.6.24 (with patch), Pekka Enberg, (Sat Feb 23, 4:18 am)
Re: bcm43xx regression in 2.6.24 (with patch), Ingo Molnar, (Sat Feb 23, 4:24 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Sat Feb 23, 4:32 am)
Re: bcm43xx regression in 2.6.24 (with patch), Pekka Enberg, (Sat Feb 23, 4:37 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Sat Feb 23, 4:51 am)
Re: bcm43xx regression in 2.6.24 (with patch), Pekka J Enberg, (Sat Feb 23, 4:57 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Sat Feb 23, 5:17 am)
Re: bcm43xx regression in 2.6.24 (with patch), Pekka Enberg, (Sat Feb 23, 5:23 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Sat Feb 23, 9:05 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Sat Feb 23, 9:27 am)
Re: bcm43xx regression in 2.6.24 (with patch), Ingo Molnar, (Sat Feb 23, 9:44 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Sat Feb 23, 9:50 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Sat Feb 23, 2:32 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Sat Feb 23, 3:20 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Sun Feb 24, 7:29 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Sun Feb 24, 9:39 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Sun Feb 24, 10:16 am)
Re: bcm43xx regression in 2.6.24 (with patch), Pekka J Enberg, (Sun Feb 24, 11:16 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Greg KH, (Sun Feb 24, 11:49 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Pekka J Enberg, (Sun Feb 24, 11:54 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Mon Feb 25, 2:54 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Mon Feb 25, 3:23 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Mon Feb 25, 3:38 am)
Re: bcm43xx regression in 2.6.24 (with patch), Xavier Bestel, (Mon Feb 25, 3:49 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Mon Feb 25, 3:54 am)
Re: bcm43xx regression in 2.6.24 (with patch), Pekka Enberg, (Mon Feb 25, 5:11 am)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Mon Feb 25, 5:19 am)
Re: bcm43xx regression in 2.6.24 (with patch), Pekka J Enberg, (Mon Feb 25, 5:25 am)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Mon Feb 25, 6:00 am)
Re: bcm43xx regression in 2.6.24 (with patch), John W. Linville, (Tue Feb 26, 1:20 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Tue Feb 26, 2:38 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Tue Feb 26, 3:04 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Tue Feb 26, 3:12 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Tue Feb 26, 3:41 pm)
Re: bcm43xx regression in 2.6.24 (with patch), John W. Linville, (Tue Feb 26, 3:47 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Tue Feb 26, 4:12 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Tue Feb 26, 5:23 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Tue Feb 26, 5:27 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Tue Feb 26, 5:32 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Tue Feb 26, 5:43 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Tue Feb 26, 5:53 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Thu Feb 28, 3:03 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Thu Feb 28, 3:48 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Stefan Lippers-Hollmann, (Thu Feb 28, 4:12 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Michael Buesch, (Thu Feb 28, 4:14 pm)
Re: bcm43xx regression in 2.6.24 (with patch), Alexey Zaytsev, (Fri Feb 29, 4:22 pm)