cpqary3_bd.c revision c3a3f6c4a232444769e56b84076450e094d50532
/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright (C) 2015 Hewlett-Packard Development Company, L.P.
*/
/*
* Abstract:
* In this file, we define the static array of board definitions.
* the individual entries are in cpqary3_bd_defs.h, which is
* auto-generated from the controllers file by sacdf using
* the cpqary3_bd_defs.h.sacdf template.
*/
#include "cpqary3.h"
#include "cpqary3_bd.h"
static cpqary3_bd_t cpqary3_bds[] = {
{
"Smart Array 5300 Controller",
4,
0x0e11,
0x4070,
0,
0,
0
},
{
"Smart Array 5i Controller",
8,
0x0e11,
0x4080,
0,
0,
0
},
{
"Smart Array 532 Controller",
8,
0x0e11,
0x4082,
0,
0,
0
},
{
"Smart Array 5312 Controller",
8,
0x0e11,
0x4083,
0,
0,
0
},
{
"Smart Array 6i Controller",
8,
0x0e11,
0x4091,
0,
0,
0
},
{
"Smart Array 641 Controller",
8,
0x0e11,
0x409a,
0,
0,
0
},
{
"Smart Array 642 Controller",
8,
0x0e11,
0x409b,
0,
0,
0
},
{
"Smart Array 6400 Controller",
8,
0x0e11,
0x409c,
0,
0,
0
},
{
"Smart Array 6400 EM Controller",
8,
0x0e11,
0x409d,
0,
0,
0
},
{
"Smart Array 6422 Controller",
8,
0x0e11,
0x409e,
0,
0,
0
},
{
"Smart Array E200i Controller",
8,
0x103c,
0x3211,
1,
0,
0
},
{
"Smart Array E200 Controller",
8,
0x103c,
0x3212,
1,
0,
0
},
{
"Smart Array P800 Controller",
8,
0x103c,
0x3223,
0,
0
},
{
"Smart Array P600 Controller",
8,
0x103c,
0x3225,
0,
0
},
{
"Smart Array P400 Controller",
8,
0x103c,
0x3234,
0,
0
},
{
"Smart Array P400i Controller",
8,
0x103c,
0x3235,
0,
0
},
{
"Smart Array E500 Controller",
8,
0x103c,
0x3237,
0,
0
},
{
"Smart Array P700m Controller",
8,
0x103c,
0x323d,
0,
0
},
{
"Smart Array P212 Controller",
8,
0x103c,
0x3241,
0,
0,
1
},
{
"Smart Array P410 Controller",
8,
0x103c,
0x3243,
0,
0,
1
},
{
"Smart Array P410i Controller",
8,
0x103c,
0x3245,
0,
0,
1
},
{
"Smart Array P411 Controller",
8,
0x103c,
0x3247,
0,
0,
1
},
{
"Smart Array P812 Controller",
8,
0x103c,
0x3249,
0,
0,
1
},
{
"Smart Array P712m Controller",
8,
0x103c,
0x324a,
0,
0,
1
},
{
"Smart Array P711m Controller",
8,
0x103c,
0x324b,
0,
0,
1
},
{
"Smart Array P222 Controller",
8,
0x103c,
0x3350,
0,
0,
1
},
{
"Smart Array P420 Controller",
8,
0x103c,
0x3351,
0,
0,
1
},
{
"Smart Array P421 Controller",
8,
0x103c,
0x3352,
0,
0,
1
},
{
"Smart Array P822 Controller",
8,
0x103c,
0x3353,
0,
0,
1
},
{
"Smart Array P420i Controller",
8,
0x103c,
0x3354,
0,
0,
1
},
{
"Smart Array P220i Controller",
8,
0x103c,
0x3355,
0,
0,
1
},
{
"Smart Array P721m Controller",
8,
0x103c,
0x3356,
0,
0,
1
},
{
"Smart Array P230i Controller",
8,
0x103c,
0x1928,
0,
0,
1
},
{
"Smart Array P430i Controller",
8,
0x103c,
0x1920,
0,
0,
1
},
{
"Smart Array P430 Controller",
8,
0x103c,
0x1922,
0,
0,
1
},
{
"Smart Array P431 Controller",
8,
0x103c,
0x1923,
0,
0,
1
},
{
"Smart Array P731m Controller",
8,
0x103c,
0x1926,
0,
0,
1
},
{
"Smart Array P830i Controller",
8,
0x103c,
0x1921,
0,
0,
1
},
{
"Smart Array P830 Controller",
8,
0x103c,
0x1924,
0,
0,
1
},
{
"Smart Array P244br Controller",
8,
0x103c,
0x21bd,
0,
0,
1
},
{
"Smart Array P741m Controller",
8,
0x103c,
0x21be,
0,
0,
1
},
{
"Smart Array H240ar Controller",
8,
0x103c,
0x21bf,
0,
0,
1
},
{
"Smart Array P440ar Controller",
8,
0x103c,
0x21c0,
0,
0,
1
},
{
"Smart Array P840ar Controller",
8,
0x103c,
0x21c1,
0,
0,
1
},
{
"Smart Array P440 Controller",
8,
0x103c,
0x21c2,
0,
0,
1
},
{
"Smart Array P441 Controller",
8,
0x103c,
0x21c3,
0,
0,
1
},
{
"Smart Array P841 Controller",
8,
0x103c,
0x21c5,
0,
0,
1
},
{
"Smart Array H244br Controller",
8,
0x103c,
0x21c6,
0,
0,
1
},
{
"Smart Array H240 Controller",
8,
0x103c,
0x21c7,
0,
0,
1
},
{
"Smart Array H241 Controller",
8,
0x103c,
0x21c8,
0,
0,
1
},
{
"Smart Array P246br Controller",
8,
0x103c,
0x21ca,
0,
0,
1
},
{
"Smart Array P840 Controller",
8,
0x103c,
0x21cb,
0,
0,
1
},
{
"Smart Array P542t Controller",
8,
0x103c,
0x21cc,
0,
0,
1
},
{
"Smart Array P240tr Controller",
8,
0x103c,
0x21cd,
0,
0,
1
},
{
"Smart Array H240nr Controller",
8,
0x103c,
0x21ce,
0,
0,
1
}
};
{
int i;
/* search the array for a matching board */
for (i = 0; i < NBOARD_DEFS; i++) {
return (&(cpqary3_bds[i]));
}
/* board id not found */
return (NULL);
}