Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2011 15:37:58 -0400
From:      Andrew Duane <aduane@juniper.net>
To:        "mips@freebsd.org" <mips@freebsd.org>
Subject:   Adding board IDs to sys/contrib/octeon-sdk/cvmx-app-init.h
Message-ID:  <AC6674AB7BC78549BB231821ABF7A9AEB7452DBBF1@EMBX01-WF.jnpr.net>

next in thread | raw e-mail | index | archive | help
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








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC6674AB7BC78549BB231821ABF7A9AEB7452DBBF1>