Return-path: Received: from 80-190-117-144.ip-home.de ([80.190.117.144]:41968 "EHLO bu3sch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753015Ab1AQLRx (ORCPT ); Mon, 17 Jan 2011 06:17:53 -0500 Subject: Re: Merging SSB and HND/AI support From: Michael =?ISO-8859-1?Q?B=FCsch?= To: Johannes Berg Cc: Jonas Gorski , linux-mips@linux-mips.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org In-Reply-To: <1295262781.3726.6.camel@jlt3.sipsolutions.net> (sfid-20110117_121317_233137_FFFFFFFFECA6016B) References: (sfid-20110117_114654_053644_FFFFFFFF84F9C750) <1295261783.24530.3.camel@maggie> <1295262781.3726.6.camel@jlt3.sipsolutions.net> (sfid-20110117_121317_233137_FFFFFFFFECA6016B) Content-Type: text/plain; charset="UTF-8" Date: Mon, 17 Jan 2011 12:17:42 +0100 Message-ID: <1295263062.24530.6.camel@maggie> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2011-01-17 at 12:13 +0100, Johannes Berg wrote: > On Mon, 2011-01-17 at 11:56 +0100, Michael Büsch wrote: > > > > As far as I can see, there are two possibilities: > > > > > > a) Merge the HND/AI code into the current SSB code, or > > > > > > b) add the missing code for SoCs to brcm80211 and replace the SSB code with it. > > > > Why can't we keep those two platforms separated? > > Is there really a lot of shared code between SSB and HND/AI? > > I don't think there's a lot of shared code, but I believe that you need > b43 to be able to target cores on both? And b43 currently uses the SSB > APIs only. Yeah right. That's what I was thinking about, too. Just leave SSB alone and add bus glues to b43 for HND/AI. There's almost no SSB specific code in b43. So it should be easily possible to add another probe entry from the (to be written or derived from brcm80211) HND/AI subsystem. -- Greetings Michael.