Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755875Ab1EGQaP (ORCPT ); Sat, 7 May 2011 12:30:15 -0400 Received: from mms3.broadcom.com ([216.31.210.19]:1900 "EHLO MMS3.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755783Ab1EGQaL convert rfc822-to-8bit (ORCPT ); Sat, 7 May 2011 12:30:11 -0400 X-Server-Uuid: B55A25B1-5D7D-41F8-BC53-C57E7AD3C201 Message-ID: <4DC57383.3050903@broadcom.com> Date: Sat, 7 May 2011 18:29:55 +0200 From: "Arend van Spriel" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: =?UTF-8?B?TWljaGFlbCBCw7xzY2g=?= cc: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , "Arnd Bergmann" , "linux-wireless@vger.kernel.org" , "John W. Linville" , "b43-dev@lists.infradead.org" , "Greg KH" , =?UTF-8?B?TWljaGFlbCBCw7xzY2g=?= , "Larry Finger" , "George Kashperko" , "linux-arm-kernel@lists.infradead.org" , "Russell King" , "Andy Botting" , linuxdriverproject , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH][WAS:bcmai,axi] bcma: add Broadcom specific AMBA bus driver References: <1304632783-8781-1-git-send-email-zajec5@gmail.com> <201105061605.31625.arnd@arndb.de> <1304776555.16344.2.camel@maggie> In-Reply-To: <1304776555.16344.2.camel@maggie> X-WSS-ID: 61DBABDF4NS2872883-01-01 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 930 Lines: 21 On 05/07/2011 03:55 PM, Michael Büsch wrote: > >> Arnd: did you have a look at defines at all? >> >> Most of the defines have values in range 0x800 → 0x837. Converting >> this to array means loosing 0x800 u16 entries. We can not use 0x800 >> offset, because there are also some defined between 0x000 and 0x800: >> #define BCMA_CORE_OOB_ROUTER 0x367 /* Out of band */ >> #define BCMA_CORE_INVALID 0x700 Please be aware that the core identifier itself is not unique (in the current list they are). In the scan the BCMA_CORE_OOB_ROUTER will always show BCMA_MANUF_ARM (did not look up the proper manufacturer define but you get the idea, i hope). Gr. AvS -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/