diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2012-03-11 04:14:00 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2012-03-11 04:14:00 +0000 |
commit | f8b73ad2e16934621a86fd1fd67b46aa21521d0b (patch) | |
tree | cd40bd62c08fa360ceced004ce74decd1b26ca3c /cvmx-csr-db-support.c | |
parent | 7a1e830cbcd5d33aa7fcdd8732e6ea26510508fd (diff) | |
download | src-f8b73ad2e16934621a86fd1fd67b46aa21521d0b.tar.gz src-f8b73ad2e16934621a86fd1fd67b46aa21521d0b.zip |
Import Cavium Octeon SDK 2.3.0 Simple Executive from cnusers.org.vendor/octeon-sdk/2.3.0vendor/octeon-sdk
Notes
Notes:
svn path=/vendor-sys/octeon-sdk/dist/; revision=232809
svn path=/vendor-sys/octeon-sdk/2.3.0/; revision=232810; tag=vendor/octeon-sdk/2.3.0
Diffstat (limited to 'cvmx-csr-db-support.c')
-rw-r--r-- | cvmx-csr-db-support.c | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/cvmx-csr-db-support.c b/cvmx-csr-db-support.c index 6850c317c857..2638d098d9f1 100644 --- a/cvmx-csr-db-support.c +++ b/cvmx-csr-db-support.c @@ -1,5 +1,5 @@ /***********************license start*************** - * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights + * Copyright (c) 2003-2010 Cavium Inc. (support@cavium.com). All rights * reserved. * * @@ -15,7 +15,7 @@ * disclaimer in the documentation and/or other materials provided * with the distribution. - * * Neither the name of Cavium Networks nor the names of + * * Neither the name of Cavium Inc. nor the names of * its contributors may be used to endorse or promote products * derived from this software without specific prior written * permission. @@ -26,7 +26,7 @@ * countries. * TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" - * AND WITH ALL FAULTS AND CAVIUM NETWORKS MAKES NO PROMISES, REPRESENTATIONS OR + * AND WITH ALL FAULTS AND CAVIUM INC. MAKES NO PROMISES, REPRESENTATIONS OR * WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO * THE SOFTWARE, INCLUDING ITS CONDITION, ITS CONFORMITY TO ANY REPRESENTATION OR * DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT DEFECTS, AND CAVIUM @@ -48,7 +48,7 @@ * * Utility functions for working with the CSR database * - * <hr>$Revision: 49507 $<hr> + * <hr>$Revision: 70030 $<hr> */ #ifdef CVMX_BUILD_FOR_LINUX_KERNEL #define PRINTF printk @@ -87,8 +87,16 @@ int cvmx_db_get_chipindex(int identifier) return 2; case 0x000d0700: /* CN52XX */ return 10; - case 0x000d9000: /* CN63XX */ + case 0x000d9300: /* CN61XX */ return 11; + case 0x000d9000: /* CN63XX */ + return 13; + case 0x000d9200: /* CN66XX */ + return 14; + case 0x000d9100: /* CN68XX */ + return 16; + case 0x000d9400: /* CNF71XX */ + return 17; } /* Next try PCI device IDs */ @@ -114,8 +122,16 @@ int cvmx_db_get_chipindex(int identifier) return 8; case 0x0080177d: /* CN52XX Pass 2 */ return 10; - case 0x0090177d: /* CN63XX Pass 1 */ + case 0x0093177d: /* CN61XX Pass 2 */ return 11; + case 0x0090177d: /* CN63XX Pass 2 */ + return 13; + case 0x0092177d: /* CN66XX Pass 1 */ + return 14; + case 0x0091177d: /* CN68XX Pass 2 */ + return 16; + case 0x0094177d: /* CNF71XX Pass 1 */ + return 17; } /* Default to Pass 3 if we don't know */ |