public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: "Alexey Zaytsev" <alexey.zaytsev@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	"Ingo Molnar" <mingo@elte.hu>,
	"Alexey Zaytsev" <zaytsev.a@protei.ru>,
	"Greg KH" <greg@kroah.com>,
	linux-kernel@vger.kernel.org
Subject: Re: bcm43xx regression in 2.6.24 (with patch)
Date: Wed, 27 Feb 2008 01:27:21 +0100	[thread overview]
Message-ID: <200802270127.22159.mb@bu3sch.de> (raw)
In-Reply-To: <f19298770802261623j1a3429dcmcf855ec6781ffcbb@mail.gmail.com>

On Wednesday 27 February 2008 01:23:17 Alexey Zaytsev wrote:
> On Wed, Feb 27, 2008 at 1:47 AM, John W. Linville
> <linville@tuxdriver.com> wrote:
> > On Wed, Feb 27, 2008 at 01:12:32AM +0300, Alexey Zaytsev wrote:
> >  > On Wed, Feb 27, 2008 at 1:04 AM, Michael Buesch <mb@bu3sch.de> wrote:
> >
> >
> > > >  Besides that the bcm43xx driver is not broken. That's the whole reason
> >  > >  this damn thread started at all. So it can't be broken.
> >  > >
> >  > Can't agree here. The bcm43xx driver used to work with 2.6.23 without requiring
> >  > any module magic.
> >
> >  At the risk of prolonging things... :-(
> >
> >  Isn't the fundamental problem here that the ssb driver claims the same
> >  PCI IDs as the bcm43xx driver?  He have hit this same issue a number
> >  of times: 8139too vs.  8139cp, eepro vs. e100, sk98lin vs. skge,
> >  and I'm sure there are more.  I admit that this situation is a bit
> >  more confusing, since the user is less likely to predict a conflict
> >  between bcm43xx and the ssb driver.  This is especially true since
> >  the user isn't even selecting ssb directly, but is instead selecting
> >  the apparently unrelated b44.
> >
> >  Still, the bcm43xx driver is not fundamentally damaged.  This is
> >  fundamentally a "two drivers claiming the same PCI ID" issue, not a
> >  "you broke my driver" one.
> 
> 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.

See the comment in b43_pci_bridge.c

-- 
Greetings Michael.

  reply	other threads:[~2008-02-27  0:28 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 11:17 bcm43xx regression in 2.6.24 (with patch) Alexey Zaytsev
2008-02-22 14:13 ` Michael Buesch
2008-02-22 17:51   ` Gabriel C
2008-02-22 17:56     ` Michael Buesch
2008-02-22 22:10       ` Greg KH
2008-02-22 18:10   ` Alexey Zaytsev
2008-02-22 17:48     ` Michael Buesch
2008-02-22 20:06       ` Alexey Zaytsev
2008-02-22 20:12         ` Michael Buesch
2008-02-22 20:38           ` Alexey Zaytsev
2008-02-22 22:12             ` Greg KH
2008-02-22 22:45               ` Alexey Zaytsev
2008-02-23  5:48                 ` Michael Buesch
2008-02-23 11:07       ` Ingo Molnar
2008-02-23 11:18         ` Pekka Enberg
2008-02-23 11:24           ` Ingo Molnar
2008-02-23 11:32             ` Alexey Zaytsev
2008-02-23 11:37               ` Pekka Enberg
2008-02-23 11:51                 ` Alexey Zaytsev
2008-02-23 11:57                   ` Pekka J Enberg
2008-02-23 12:17                     ` Alexey Zaytsev
2008-02-23 12:23                       ` Pekka Enberg
2008-02-24 14:29               ` Michael Buesch
2008-02-24 16:39                 ` Alexey Zaytsev
2008-02-24 17:16                   ` Michael Buesch
2008-02-25  6:16                     ` Pekka J Enberg
2008-02-25  6:49                       ` Greg KH
2008-02-25  6:54                         ` Pekka J Enberg
2008-02-25  9:54                         ` Michael Buesch
2008-02-25 12:11                           ` Pekka Enberg
2008-02-25 12:19                             ` Michael Buesch
2008-02-25 12:25                               ` Pekka J Enberg
2008-02-25 13:00                                 ` Alexey Zaytsev
2008-02-25 10:23                         ` Alexey Zaytsev
2008-02-25 10:38                           ` Michael Buesch
2008-02-25 10:49                             ` Xavier Bestel
2008-02-25 10:54                               ` Michael Buesch
2008-02-23 16:05         ` Michael Buesch
2008-02-23 16:27         ` Michael Buesch
2008-02-23 16:44           ` Ingo Molnar
2008-02-23 16:50             ` Michael Buesch
2008-02-23 21:32           ` Alexey Zaytsev
2008-02-23 22:20             ` Michael Buesch
2008-02-26 20:20               ` John W. Linville
2008-02-26 21:38                 ` Alexey Zaytsev
2008-02-26 22:04                   ` Michael Buesch
2008-02-26 22:12                     ` Alexey Zaytsev
2008-02-26 22:41                       ` Michael Buesch
2008-02-28 22:03                         ` Michael Buesch
2008-02-28 22:48                           ` Alexey Zaytsev
2008-02-28 23:12                             ` Stefan Lippers-Hollmann
2008-02-29 23:22                               ` Alexey Zaytsev
2008-02-28 23:14                             ` Michael Buesch
2008-02-26 22:47                       ` John W. Linville
2008-02-26 23:12                         ` Michael Buesch
2008-02-27  0:23                         ` Alexey Zaytsev
2008-02-27  0:27                           ` Michael Buesch [this message]
2008-02-27  0:32                             ` Alexey Zaytsev
2008-02-27  0:43                               ` Michael Buesch
2008-02-27  0:53                                 ` Alexey Zaytsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200802270127.22159.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=alexey.zaytsev@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mingo@elte.hu \
    --cc=zaytsev.a@protei.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox