Return-path: Received: from moutng.kundenserver.de ([212.227.17.10]:53521 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290Ab1DROTu (ORCPT ); Mon, 18 Apr 2011 10:19:50 -0400 From: Arnd Bergmann To: =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= Subject: Re: Could I (ab)use bus (struct bus_type) for virtual Broadcom bus? Date: Mon, 18 Apr 2011 16:19:34 +0200 Cc: George Kashperko , Hauke Mehrtens , Russell King , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arend van Spriel , Jonas Gorski , b43-dev@lists.infradead.org, Greg KH , Andy Botting , Larry Finger References: <201104171938.12834.arnd@arndb.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Message-Id: <201104181619.35115.arnd@arndb.de> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Monday 18 April 2011, Rafał Miłecki wrote: > W dniu 17 kwietnia 2011 19:38 użytkownik Arnd Bergmann napisał: > > > In general, the bus_type directly relates to how a device gets probed. > > If broadcom uses the same basic register layout as regular AMBA devices, > > it should use the amba bus type. > > From Broadcom side we *could* use some registers that are AMBA > specific, they are present... but there is totally no point in doing > that. Everything we use is Broadcom specific. > > > > I think it would be fine to extend the AMBA bus slightly if there are > > just minor differences. > > As I said, Broadcom specific driver use nothing from AMBA common > things. Plus we implement routines that are Broadcom specific and no > other platform will use them. You mean the hardware has two sets of registers containing the same information, one of them the standard registers, and one with broadcom specific ones? Why don't you just use the standard ones then? Arnd