* bcm43xx symbol clash problems
@ 2006-04-10 0:16 Michael Buesch
[not found] ` <200604100216.21571.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Michael Buesch @ 2006-04-10 0:16 UTC (permalink / raw)
To: linville-2XuSBdqkA4R54TAoqtyWWQ
Cc: netdev-u79uwXL29TY76Z2rM5mHXA, bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w
Hi,
I looked into the symbol clash problems between bcm43xx and bcm43xx-d80211
you mentioned at the wireless summit.
Well, IMHO it is pretty hard to find a good solution to this.
The situation is: We have several nonstatic functions in the bcm driver. These
functions have the same name in the softmac and dscape versions. It's quite a
lot of functions.
We can't make them static, because the driver is splitted over several files.
I would _really_ want to prevent renaming them all, because that is lots of work,
which will be thrown away anyway.
Does kbuild perhaps have some magic to handle that?
This needs to be solved soon, but I have no idea how.
I also wanna note that I am looking into using quilt for bcm43xx development.
git is not the perfect solution for bcm43xx development. Maybe quilt is.
Who knows... Let's try it.
--
Greetings Michael, who would like to have the namespace keyword in C.
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <200604100216.21571.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>]
* Re: bcm43xx symbol clash problems [not found] ` <200604100216.21571.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org> @ 2006-04-11 6:39 ` Johannes Berg 2006-04-11 16:35 ` Michael Buesch 0 siblings, 1 reply; 5+ messages in thread From: Johannes Berg @ 2006-04-11 6:39 UTC (permalink / raw) To: Michael Buesch Cc: linville-2XuSBdqkA4R54TAoqtyWWQ, netdev-u79uwXL29TY76Z2rM5mHXA, bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w [-- Attachment #1: Type: text/plain, Size: 637 bytes --] On Mon, 2006-04-10 at 02:16 +0200, Michael Buesch wrote: > Does kbuild perhaps have some magic to handle that? > > This needs to be solved soon, but I have no idea how. You want to have bcm43xx and bcm43xx-dscape conflict anyway, since there's no point in building both into the kernel, only one can be bound to a device. Yes, I know one could still bind them manually, but that's about as icky as building them as modules imho. And whoever really needs a static kernel will not need both of them. I don't know how the Kconfig there is laid out, but wouldn't it be possible to make them conflict on both yes? johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 793 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bcm43xx symbol clash problems 2006-04-11 6:39 ` Johannes Berg @ 2006-04-11 16:35 ` Michael Buesch [not found] ` <200604111835.03948.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Michael Buesch @ 2006-04-11 16:35 UTC (permalink / raw) To: Johannes Berg Cc: linville-2XuSBdqkA4R54TAoqtyWWQ, netdev-u79uwXL29TY76Z2rM5mHXA, bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w On Tuesday 11 April 2006 08:39, Johannes Berg wrote: > On Mon, 2006-04-10 at 02:16 +0200, Michael Buesch wrote: > > Does kbuild perhaps have some magic to handle that? > > > > This needs to be solved soon, but I have no idea how. > > You want to have bcm43xx and bcm43xx-dscape conflict anyway, since > there's no point in building both into the kernel, only one can be bound > to a device. Yes, I know one could still bind them manually, but that's > about as icky as building them as modules imho. And whoever really needs > a static kernel will not need both of them. > > I don't know how the Kconfig there is laid out, but wouldn't it be > possible to make them conflict on both yes? Sure. I would probably say that both m should conflict, too. And one y and the other m, too. This can be done with ugly "depends" statements. -- Greetings Michael. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <200604111835.03948.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>]
* Re: bcm43xx symbol clash problems [not found] ` <200604111835.03948.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org> @ 2006-04-11 16:42 ` Johannes Berg 2006-04-11 16:59 ` Michael Buesch 0 siblings, 1 reply; 5+ messages in thread From: Johannes Berg @ 2006-04-11 16:42 UTC (permalink / raw) To: Michael Buesch Cc: linville-2XuSBdqkA4R54TAoqtyWWQ, netdev-u79uwXL29TY76Z2rM5mHXA, bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w [-- Attachment #1: Type: text/plain, Size: 326 bytes --] On Tue, 2006-04-11 at 18:35 +0200, Michael Buesch wrote: > Sure. I would probably say that both m should conflict, too. Nah, you probably want both m for testing. > And one y and the other m, too. Yeah that should conflict too. > This can be done with ugly "depends" statements. I have no idea. johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 793 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bcm43xx symbol clash problems 2006-04-11 16:42 ` Johannes Berg @ 2006-04-11 16:59 ` Michael Buesch 0 siblings, 0 replies; 5+ messages in thread From: Michael Buesch @ 2006-04-11 16:59 UTC (permalink / raw) To: Johannes Berg Cc: bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w, linville-2XuSBdqkA4R54TAoqtyWWQ, netdev-u79uwXL29TY76Z2rM5mHXA On Tuesday 11 April 2006 18:42, Johannes Berg wrote: > On Tue, 2006-04-11 at 18:35 +0200, Michael Buesch wrote: > > > Sure. I would probably say that both m should conflict, too. > > Nah, you probably want both m for testing. I am OK with this, but it fucks up module autoloading. But that is probably OK. -- Greetings Michael. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-04-11 16:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 0:16 bcm43xx symbol clash problems Michael Buesch
[not found] ` <200604100216.21571.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
2006-04-11 6:39 ` Johannes Berg
2006-04-11 16:35 ` Michael Buesch
[not found] ` <200604111835.03948.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
2006-04-11 16:42 ` Johannes Berg
2006-04-11 16:59 ` Michael Buesch
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).