From owner-freebsd-mips@FreeBSD.ORG Wed Sep 7 19:39:23 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E4A6106564A for ; Wed, 7 Sep 2011 19:39:23 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from exprod7og118.obsmtp.com (exprod7og118.obsmtp.com [64.18.2.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFB98FC13 for ; Wed, 7 Sep 2011 19:39:22 +0000 (UTC) Received: from P-EMHUB02-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob118.postini.com ([64.18.6.12]) with SMTP ID DSNKTmfIaVU3GMRY19UJlJ8f4PdJkoDzYoxn@postini.com; Wed, 07 Sep 2011 12:39:22 PDT Received: from p-emfe01-wf.jnpr.net (172.28.145.24) by P-EMHUB02-HQ.jnpr.net (172.24.192.36) with Microsoft SMTP Server (TLS) id 8.2.254.0; Wed, 7 Sep 2011 12:38:00 -0700 Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe01-wf.jnpr.net ([fe80::d0d1:653d:5b91:a123%11]) with mapi; Wed, 7 Sep 2011 15:37:59 -0400 From: Andrew Duane To: "mips@freebsd.org" Date: Wed, 7 Sep 2011 15:37:58 -0400 Thread-Topic: Adding board IDs to sys/contrib/octeon-sdk/cvmx-app-init.h Thread-Index: AcxtlaV1STLAaehxTeWyoDbGEVX3sg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Adding board IDs to sys/contrib/octeon-sdk/cvmx-app-init.h X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 19:39:23 -0000 I know this is a Cavium maintained file, there's even a comment inside that= says: /* Set aside a range for customer boards. These numbers are managed ** by Cavium. */ Is there a protocol for adding new board IDs? And, would it be a real probl= em if the board IDs were not between CVMX_BOARD_TYPE_CUST_PRIVATE_MIN and C= VMX_BOARD_TYPE_CUST_PRIVATE_MAX? I'm trying to sort out some code additions= to define our private boards, and they already have hardware IDs assigned = and burned into them that are in the range of 1300 to 1600 or so. I guess I could read the hardware IDs and add CVMX_BOARD_TYPE_CUST_PRIVATE_= MIN as an offset, is that a reasonable approach? As a related question, is there a protocol for managing kernel configuratio= n files that belong to a private platform? ................................... Andrew Duane Juniper Networks o +1 978 589 0551 m +1 603-770-7088 aduane@juniper.net