/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2004-2012 Emulex. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _EMLXS_ADAPTERS_H
#define _EMLXS_ADAPTERS_H
#ifdef __cplusplus
extern "C" {
#endif
/* Unique id for each adapter model */
typedef enum emlxs_adapter
{
UNKNOWN_ADAPTER = 0,
/* DragonFly (1) */
/* Centaur (4) */
/* Pegasus (9) */
/* Thor (11) */
/* Helios (17) */
/* Zephyr (23) */
/* Hornet (31) */
/* Saturn (33) */
/* BE2 (41) */
/* BE3 (43) */
/* Lancer FC (45) */
/* Lancer FCoE (51) */
/* BE4 (57) */
/* Subsystem Vendor IDs */
/* PCI_DEVICE_IDs & PCI_SSDIDs */
/* F800: Dragonfly */
/* F085: Dragonfly SBUS */
/* F900: Centaur */
/* F095: Centaur SBUS */
/* F980: Pegasus */
/* FA00: Thor */
/* by cache_line */
/* by cache_line */
/* F0A5: Thor Blade */
/* FC00: Thor Oracle */
/* FD00: Helios */
/* FD11: Helios Spare */
/* FD12: Helios Spare */
/* FC10: Helios Oracle */
/* FE00: Zephyr */
/* FC20: Zephyr Oracle */
/* FE05: Hornet */
/* F100: Saturn */
/* F111: Saturn Spare */
/* F112: Saturn Spare */
/* FC40: Saturn Oracle */
/* 0704: BE2 (TigerShark) */
/* 0714: BE3 (TomCat) */
/* 0724: BE4 (Skyhawk) */
/* E200: Lancer FC */
/* E260: Lancer FCoE */
/* JEDEC codes */
typedef struct emlxs_model
{
/* flags */
/* chip */
#define NULL_PROG_TYPES {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}
#ifdef EMLXS_MODEL_DEF
/* Define the SBUS adapter database */
{
/* Unknown */
{
0,
0,
"unknown",
"Unknown Emulex LightPulse FC HBA",
"Emulex",
0,
},
/* Dragonfly midrange (QFLY) */
{
"LP8000S",
"Emulex LP8000S 1Gb 1-port SBUS FC HBA",
"Emulex",
{0x21, 0xB0, 0},
{0},
{0x31, 0},
{0x31, 0x39, 0},
{0x01, 0},
{0},
{0},
{0x30, 0},
{0}, /* T20 */
},
/* Centaur mid-range (RFLY, Rtaur) */
{
"LP9002S",
"Emulex LP9002S 2Gb 1-port SBUS FC HBA",
"Emulex",
{0x41, 0xD0, 0},
{0},
{0x51, 0},
{0x51, 0},
{0x02, 0},
{0},
{0},
{0x50, 0},
{0}, /* T20 */
},
}; /* emlxs_sbus_model[] */
#define EMLXS_SBUS_MODEL_COUNT \
(sizeof (emlxs_sbus_model) / sizeof (emlxs_model_t))
/* Define the PCI adapter database */
{
/* Unknown */
{
0,
0,
"unknown",
"Unknown Emulex LightPulse FC HBA",
"Emulex",
0,
},
/* Dragonfly */
{
"LP8000",
"Emulex LP8000 1Gb 1-port PCI FC HBA",
"Emulex",
{0x21, 0x22, 0x23, 0xA0, 0},
{0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0},
{0x21, 0x22, 0x23, 0},
{0x21, 0x22, 0x23, 0},
{0},
{0},
{0},
{0x20, 0},
{0}, /* T20 */
},
/* Dragonfly DC */
/* !! Must always follow the single channel entry in list */
{
"LP8000DC",
"Emulex LP8000DC 1Gb 2-port PCI FC HBA",
"Emulex",
{0x21, 0x22, 0x23, 0xA0, 0},
{0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0},
{0x21, 0x22, 0x23, 0},
{0x21, 0x22, 0x23, 0},
{0},
{0},
{0},
{0x20, 0},
{0}, /* T20 */
},
/* Centaur PCI */
{
"LP9002L",
"Emulex LP9002L 2Gb 1-port PCI FC HBA",
"Emulex",
{0x41, 0x43, 0xC0, 0},
{0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0},
{0x41, 0x43, 0},
{0x41, 0x43, 0},
{0},
{0},
{0},
{0x40, 0},
{0}, /* T20 */
},
/* Centaur cPCI */
{
"LP9002C",
"Emulex LP9002C 2Gb 1-port cPCI FC HBA",
"Emulex",
{0x41, 0x43, 0xC0, 0},
{0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0},
{0x41, 0x43, 0},
{0x41, 0x43, 0},
{0},
{0},
{0},
{0x40, 0},
{0}, /* T20 */
},
/* Centaur DC PCI */
/* !! Must always follow the single channel entry in list */
{
"LP9002DC",
"Emulex LP9002DC 2Gb 2-port PCI FC HBA",
"Emulex",
{0x41, 0x43, 0xC0, 0},
{0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0},
{0x41, 0x43, 0},
{0x41, 0x43, 0},
{0},
{0},
{0},
{0x40, 0},
{0}, /* T20 */
},
/* Centaur DC PCI-X */
/* !! Must always follow the single channel entry in list */
{
"LP9402DC",
"Emulex LP9402DC 2Gb 2-port PCI-X FC HBA",
"Emulex",
{0x41, 0x43, 0xC0, 0},
{0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0},
{0x41, 0x43, 0},
{0x41, 0x43, 0},
{0},
{0},
{0},
{0x40, 0},
{0}, /* T20 */
},
/* Pegasus */
{
"LP9802",
"Emulex LP9802 2Gb 1-port PCI-X FC HBA",
"Emulex",
{0x63, 0xE0, 0},
{0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0},
{0x63, 0},
{0x63, 0},
{0},
{0x63, 0},
{0},
{0x60, 0},
{0}, /* T20 */
},
/* Pegasus DC */
/* !! Must always follow the single channel entry in list */
{
"LP9802DC",
"Emulex LP9802DC 2Gb 2-port PCI-X FC HBA",
"Emulex",
{0x61, 0xE0, 0},
{0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0},
{0x61, 0},
{0x61, 0},
{0},
{0x61, 0},
{0},
{0x60, 0},
{0}, /* T20 */
},
/* Thor */
{
"LP10000",
"Emulex LP10000 2Gb 1-port PCI-X FC HBA",
"Emulex",
{0x81, 0x83, 0x88, 0},
{0x81, 0x82, 0x83, 0x85, 0x86, 0x87, 0},
{0x81, 0x83, 0},
{0x81, 0x83, 0},
{0},
{0x81, 0x83, 0},
{0},
{0x80, 0},
{0}, /* T20 */
},
/* Thor DC */
/* !! Must always follow the single channel entry in list */
{
"LP10000DC",
"Emulex LP10000DC 2Gb 2-port PCI-X FC HBA",
"Emulex",
{0x81, 0x83, 0x88, 0},
{0x81, 0x82, 0x83, 0x85, 0x86, 0x87, 0},
{0x81, 0x83, 0},
{0x81, 0x83, 0},
{0},
{0x81, 0x83, 0},
{0},
{0x80, 0},
{0}, /* T20 */
},
/* Thor DC express */
/* !! Must always follow the single channel entry in list */
{
"LP10000ExDC",
"Emulex LP10000ExDC 2Gb 2-port PCIe FC HBA",
"Emulex",
{0x81, 0x83, 0x88, 0},
{0x81, 0x82, 0x83, 0x85, 0x86, 0x87, 0},
{0x81, 0x83, 0},
{0x81, 0x83, 0},
{0},
{0x81, 0x83, 0},
{0},
{0x80, 0},
{0}, /* T20 */
},
/* Thor (Oracle Rainbow-E1) */
{
"LP10000-S",
"Emulex LP10000-S 2Gb 1-port PCI-X FC HBA",
"Emulex",
{0x83, 0x88, 0},
{0x82, 0x84, 0},
{0x83, 0},
{0x83, 0},
{0},
{0x83, 0},
{0},
{0x80, 0},
{0}, /* T20 */
},
/* Thor DC (Oracle Rainbow-E2) */
/* !! Must always follow the single channel entry in list */
{
"LP10000DC-S",
"Emulex LP10000DC-S 2Gb 2-port PCI-X FC HBA",
"Emulex",
{0x83, 0x88, 0},
{0x82, 0x84, 0},
{0x83, 0},
{0x83, 0},
{0},
{0x83, 0},
{0},
{0x80, 0},
{0}, /* T20 */
},
/* Thor mid-range (MiniThor) */
{
"2G Blade Adapter",
"Emulex 2G 2-port Blade PCI-X FC HBA",
"Emulex",
{0x98, 0},
{0x91, 0x92, 0x93, 0x95, 0x96, 0x97, 0},
{0x91, 0},
{0x91, 0},
{0},
{0x91, 0},
{0},
{0x90, 0},
{0}, /* T20 */
},
/* Helios */
{
"LP11000",
"Emulex LP11000 4Gb 1-port PCI-X2 FC HBA",
"Emulex",
{0xC3, 0xC8, 0},
{0xC1, 0xC2, 0xC3, 0xC5, 0xC6, 0xC7, 0},
{0xC3, 0},
{0xC3, 0},
{0},
{0xC3, 0},
{0},
{0xC0, 0},
{0}, /* T20 */
},
/* Helios DC */
/* !! Must always follow the single channel entry in list */
{
"LP11002",
"Emulex LP11002 4Gb 2-port PCI-X2 FC HBA",
"Emulex",
{0xC1, 0xC8, 0},
{0xC1, 0xC2, 0xC3, 0xC5, 0xC6, 0xC7, 0},
{0xC1, 0},
{0xC1, 0},
{0},
{0xC1, 0},
{0},
{0xC0, 0},
{0}, /* T20 */
},
/* Helios (Oracle Pyramid-E1) */
{
"LP11000-S",
"Emulex LP11000-S 4Gb 1-port PCI-X2 FC HBA",
"Emulex",
{0xC3, 0xC8, 0},
{0xC4, 0},
{0xC3, 0},
{0xC3, 0},
{0},
{0xC3, 0},
{0},
{0xC0, 0},
{0}, /* T20 */
},
/* Helios DC (Oracle Pyramid-E2) */
{
"LP11002-S",
"Emulex LP11002-S 4Gb 2-port PCI-X2 FC HBA",
"Emulex",
{0xC1, 0xC8, 0},
{0xC4, 0},
{0xC1, 0},
{0xC1, 0},
{0},
{0xC1, 0},
{0},
{0xC0, 0},
{0}, /* T20 */
},
/* Helios Enterprise (Spare) */
{
"LP11000",
"Emulex LP11000 4Gb 1-port PCI-X2 FC HBA",
"Emulex",
{0xC3, 0xC8, 0},
{0xC1, 0xC2, 0xC3, 0xC5, 0xC6, 0xC7, 0},
{0xC3, 0},
{0xC3, 0},
{0},
{0xC3, 0},
{0},
{0xC0, 0},
{0}, /* T20 */
},
/* Helios DC Enterprise (Spare) */
{
"LP11002",
"Emulex LP11002 4Gb 2-port PCI-X2 FC HBA",
"Emulex",
{0xC1, 0xC8, 0},
{0xC1, 0xC2, 0xC3, 0xC5, 0xC6, 0xC7, 0},
{0xC1, 0},
{0xC1, 0},
{0},
{0xC1, 0},
{0},
{0xC0, 0},
{0}, /* T20 */
},
/* Zephyr */
{
"LPe11000",
"Emulex LPe11000 4Gb 1-port PCIe FC HBA",
"Emulex",
{0xE3, 0xE8, 0},
{0xE1, 0xE2, 0xE3, 0xE5, 0xE6, 0xE7, 0},
{0xE3, 0},
{0xE3, 0},
{0},
{0xE3, 0},
{0},
{0xE0, 0},
{0}, /* T20 */
},
/* Zephyr */
/* !! Must always follow the single channel entry in list */
{
"LPe11000",
"Emulex LPe11000 4Gb Multi-port PCIe FC HBA",
"Emulex",
{0xE1, 0xE8, 0},
{0xE1, 0xE2, 0xE3, 0xE5, 0xE6, 0xE7, 0},
{0xE1, 0},
{0xE1, 0},
{0},
{0xE1, 0},
{0},
{0xE0, 0},
{0}, /* T20 */
},
/* Zephyr Hornet */
{
"LP21000",
"Emulex LP21000 10GE 1-port PCIe FCoE HBA",
"Emulex",
{0x50, 0},
{0x59, 0x5A, 0x5B, 0x5D, 0x5E, 0x5F, 0},
{0},
{0x53, 0x59, 0},
{0},
{0x53, 0x59, 0},
{0},
{0x58, 0},
{0}, /* T20 */
},
/* Zephyr Hornet DC */
/* !! Must always follow the single channel entry in list */
{
"LP21002",
"Emulex LP21002 10GE 2-port PCIe FCoE HBA",
"Emulex",
{0x50, 0},
{0x59, 0x5A, 0x5B, 0x5D, 0x5E, 0x5F, 0},
{0},
{0x53, 0x59, 0},
{0},
{0x53, 0x59, 0},
{0},
{0x58, 0},
{0}, /* T20 */
},
/* Zephyr (Oracle Summit-E1) */
{
"LPe11000-S",
"Emulex LPe11000-S 4Gb 1-port PCIe FC HBA",
"Emulex",
{0xE3, 0xE8, 0},
{0xE4, 0},
{0xE3, 0},
{0xE3, 0},
{0},
{0xE3, 0},
{0},
{0xE0, 0},
{0}, /* T20 */
},
/* Zephyr DC (Oracle Summit-E2) */
/* !! Must always follow the single channel entry in list */
{
"LPe11002-S",
"Emulex LPe11002-S 4Gb 2-port PCIe FC HBA",
"Emulex",
{0xE1, 0xE8, 0},
{0xE4, 0},
{0xE1, 0},
{0xE1, 0},
{0},
{0xE1, 0},
{0},
{0xE0, 0},
{0}, /* T20 */
},
/* Zephyr NEM (Oracle Janus) */
/* !! Must always follow the single channel entry in list */
{
"LPe11020-S",
"Emulex LPe11020-S 4Gb 20-port PCIe FC HBA",
"Emulex",
{0xE1, 0xE8, 0},
{0xE4, 0},
{0xE1, 0},
{0xE1, 0},
{0},
{0xE1, 0},
{0},
{0xE0, 0},
{0}, /* T20 */
},
/* Zephyr Express Module (Oracle TitanE) */
/* !! Must always follow the single channel entry in list */
{
"LPem11002-S",
"Emulex LPem11002-S 4Gb 2-port PCIe FC HBA",
"Emulex",
{0xE1, 0xE8, 0},
{0xE4, 0},
{0xE1, 0},
{0xE1, 0},
{0},
{0xE1, 0},
{0},
{0xE0, 0},
{0}, /* T20 */
},
/* Zephyr Express Module (Oracle Elara) */
/* !! Must always follow the single channel entry in list */
{
"LPem11002E-S",
"Emulex LPem11002E-S 4Gb 2-port FC & 2-port 1GE PCIe HBA",
"Emulex",
{0xE1, 0xE8, 0},
{0xE4, 0},
{0xE1, 0},
{0xE1, 0},
{0},
{0xE1, 0},
{0},
{0xE0, 0},
{0}, /* T20 */
},
/* !! Must always follow the single channel entry in list */
{
"LPeA11002-S",
"Emulex LPeA11002-S 4Gb 2-port PCIe FC HBA",
"Emulex",
{0xE1, 0xE8, 0},
{0xE4, 0},
{0xE1, 0},
{0xE1, 0},
{0},
{0xE1, 0},
{0},
{0xE0, 0},
{0}, /* T20 */
},
/* Saturn */
{
"LPe12000",
"Emulex LPe12000 8Gb 1-port PCIe FC HBA",
"Emulex",
{0x78, 0},
{0x79, 0x7A, 0x7B, 0x7D, 0x7E, 0x7F, 0},
{0},
{0x73, 0x79, 0},
{0},
{0x73, 0x79, 0},
{0},
{0x78, 0},
{0}, /* T20 */
},
/* Saturn DC */
/* !! Must always follow the single channel entry in list */
{
"LPe12002",
"Emulex LPe12002 8Gb 2-port PCIe FC HBA",
"Emulex",
{0x78, 0},
{0x79, 0x7A, 0x7B, 0x7D, 0x7E, 0x7F, 0},
{0},
{0x73, 0x79, 0},
{0},
{0x73, 0x79, 0},
{0},
{0x78, 0},
{0}, /* T20 */
},
/* Saturn (Oracle) */
{
"LPe12000-S",
"Emulex LPe12000-S 8Gb 1-port PCIe FC HBA",
"Emulex",
{0x78, 0},
{0x7C, 0},
{0},
{0x73, 0},
{0},
{0x73, 0},
{0},
{0x78, 0},
{0}, /* T20 */
},
/* Saturn DC (Oracle) */
{
"LPe12002-S",
"Emulex LPe12002-S 8Gb 2-port PCIe FC HBA",
"Emulex",
{0x78, 0},
{0x7C, 0},
{0},
{0x73, 0},
{0},
{0x73, 0},
{0},
{0x78, 0},
{0}, /* T20 */
},
/* Saturn Express Module (Oracle) */
{
"LPem12002-S",
"Emulex LPem12002-S 8Gb 2-port PCIe FC HBA",
"Emulex",
{0x78, 0},
{0x7C, 0},
{0},
{0x73, 0},
{0},
{0x73, 0},
{0},
{0x78, 0},
{0}, /* T20 */
},
/* Saturn Express Module (Oracle Metis) */
{
"LPem12002E-S",
"Emulex LPem12002E-S 8Gb 2-port PCIe FC HBA",
"Emulex",
{0x78, 0},
{0x7C, 0},
{0},
{0x73, 0},
{0},
{0x73, 0},
{0},
{0x78, 0},
{0}, /* T20 */
},
/* Saturn */
{
"LPe12000",
"Emulex LPe12000 8Gb 1-port PCIe FC HBA",
"Emulex",
{0x78, 0},
{0x79, 0x7A, 0x7B, 0x7D, 0x7E, 0x7F, 0},
{0},
{0x73, 0},
{0},
{0x73, 0},
{0},
{0x78, 0},
{0}, /* T20 */
},
/* Saturn DC */
{
"LPe12002",
"Emulex LPe12002 8Gb 2-port PCIe FC HBA",
"Emulex",
{0x78, 0},
{0x79, 0x7A, 0x7B, 0x7D, 0x7E, 0x7F, 0},
{0},
{0x73, 0},
{0},
{0x73, 0},
{0},
{0x78, 0},
{0}, /* T20 */
},
/* BE2 (Tigershark) */
{
"OCe10101",
"Emulex OneConnect OCe10101 10Gb 1-port FCoE HBA",
"Emulex",
},
/* BE2 DC (Tigershark) */
/* !! Must always follow the single channel entry in list */
{
"OCe10102",
"Emulex OneConnect OCe10102 10Gb 2-port FCoE HBA",
"Emulex",
},
/* BE3 (TomCat) */
{
"OCe11101",
"Emulex OneConnect OCe11101 10Gb 1-port FCoE HBA",
"Emulex",
},
/* BE3 DC (Tomcat) */
/* !! Must always follow the single channel entry in list */
{
"OCe11102",
"Emulex OneConnect OCe11102 10Gb 2-port FCoE HBA",
"Emulex",
},
/* Lancer FC (Generic) */
{
"LPe16000",
"Emulex LightPulse LPe16000 16Gb 1-port FC HBA",
"Emulex",
},
/* Lancer FC (Generic Multi-Channel) */
/* !! Must always follow the single channel entry in list */
{
"LPe16000",
"Emulex LightPulse LPe16000 16Gb Multi-port FC HBA",
"Emulex",
},
/* Lancer FC DC Express Module (Oracle Ganymede) */
{
"LPem16002-M6-O",
"Emulex LightPulse LPem16002-M6-O 16Gb 2-port FC HBA",
"Emulex",
},
/* Lancer FC DC (Oracle Ganymede) */
{
"LPe16002-M6-O",
"Emulex LightPulse LPe16002-M6-O 16Gb 2-port FC HBA",
"Emulex",
},
/* Lancer FC DC (Oracle Excluded - Spare 1) */
{
"LPe16002",
"Emulex LightPulse LPe16002 16Gb 2-port FC HBA",
"Emulex",
},
/* Lancer FC DC (Oracle Excluded - Spare 2) */
{
"LPe16002",
"Emulex LightPulse LPe16002 16Gb 2-port FC HBA",
"Emulex",
},
/* Lancer FCOE (Generic) */
{
"OCe15100",
"Emulex OneConnect OCe15100 10Gb 1-port FCoE HBA",
"Emulex",
},
/* Lancer FCOE (Generic Multi-Channel) */
/* !! Must always follow the single channel entry in list */
{
"OCe15100",
"Emulex OneConnect OCe15100 10Gb Multi-port FCoE HBA",
"Emulex",
},
/* Lancer FCOE DC Express Module (Oracle Ganymede) */
{
"LPem16002-M6-O",
"Emulex OneConnect LPem16002-M6-O 10Gb 2-port FCoE HBA",
"Emulex",
},
/* Lancer FCOE DC (Oracle Ganymede) */
{
"LPe16002-M6-O",
"Emulex OneConnect LPe16002-M6-O 10Gb 2-port FCoE HBA",
"Emulex",
},
/* Lancer FCOE DC (Oracle Excluded - Spare 1) */
{
"LPe16002",
"Emulex OneConnect LPe16002 10Gb 2-port FCoE HBA",
"Emulex",
},
/* Lancer FCOE DC (Oracle Excluded - Spare 2) */
{
"LPe16002",
"Emulex OneConnect LPe16002 10Gb 2-port FCoE HBA",
"Emulex",
},
/* BE4 (Skyhawk) */
{
"OCe12104",
"Emulex OneConnect OCe12104 10Gb 2-port FCoE HBA",
"Emulex",
},
}; /* emlxs_pci_model[] */
int emlxs_pci_model_count =
(sizeof (emlxs_pci_model) / sizeof (emlxs_model_t));
#endif /* EMLXS_MODEL_DEF */
#ifdef __cplusplus
}
#endif
#endif /* _EMLXS_ADAPTERS_H */