| 1 | /******************************************************************************* |
| 2 | Copyright (C) Marvell International Ltd. and its affiliates |
| 3 | |
| 4 | This software file (the "File") is owned and distributed by Marvell |
| 5 | International Ltd. and/or its affiliates ("Marvell") under the following |
| 6 | alternative licensing terms. Once you have made an election to distribute the |
| 7 | File under one of the following license alternatives, please (i) delete this |
| 8 | introductory statement regarding license alternatives, (ii) delete the two |
| 9 | license alternatives that you have not elected to use and (iii) preserve the |
| 10 | Marvell copyright notice above. |
| 11 | |
| 12 | ******************************************************************************** |
| 13 | Marvell Commercial License Option |
| 14 | |
| 15 | If you received this File from Marvell and you have entered into a commercial |
| 16 | license agreement (a "Commercial License") with Marvell, the File is licensed |
| 17 | to you under the terms of the applicable Commercial License. |
| 18 | |
| 19 | ******************************************************************************** |
| 20 | Marvell GPL License Option |
| 21 | |
| 22 | If you received this File from Marvell, you may opt to use, redistribute and/or |
| 23 | modify this File in accordance with the terms and conditions of the General |
| 24 | Public License Version 2, June 1991 (the "GPL License"), a copy of which is |
| 25 | available along with the File in the license.txt file or by writing to the Free |
| 26 | Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 or |
| 27 | on the worldwide web at http://www.gnu.org/licenses/gpl.txt. |
| 28 | |
| 29 | THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE IMPLIED |
| 30 | WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY |
| 31 | DISCLAIMED. The GPL License provides additional details about this warranty |
| 32 | disclaimer. |
| 33 | ******************************************************************************** |
| 34 | Marvell BSD License Option |
| 35 | |
| 36 | If you received this File from Marvell, you may opt to use, redistribute and/or |
| 37 | modify this File under the following licensing terms. |
| 38 | Redistribution and use in source and binary forms, with or without modification, |
| 39 | are permitted provided that the following conditions are met: |
| 40 | |
| 41 | * Redistributions of source code must retain the above copyright notice, |
| 42 | this list of conditions and the following disclaimer. |
| 43 | |
| 44 | * Redistributions in binary form must reproduce the above copyright |
| 45 | notice, this list of conditions and the following disclaimer in the |
| 46 | documentation and/or other materials provided with the distribution. |
| 47 | |
| 48 | * Neither the name of Marvell nor the names of its contributors may be |
| 49 | used to endorse or promote products derived from this software without |
| 50 | specific prior written permission. |
| 51 | |
| 52 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 53 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 54 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 55 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR |
| 56 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 57 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 58 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 59 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 60 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 61 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 62 | |
| 63 | *******************************************************************************/ |
| 64 | |
| 65 | #ifndef __INCmvDeviceIdh |
| 66 | #define __INCmvDeviceIdh |
| 67 | |
| 68 | #ifdef __cplusplus |
| 69 | extern "C" { |
| 70 | #endif /* __cplusplus */ |
| 71 | |
| 72 | /* defines */ |
| 73 | #define MARVELL_VEN_ID 0x11ab |
| 74 | |
| 75 | /* Disco-3 */ |
| 76 | #define MV64460_DEV_ID 0x6480 |
| 77 | #define MV64460B_DEV_ID 0x6485 |
| 78 | #define MV64430_DEV_ID 0x6420 |
| 79 | |
| 80 | /* Disco-5 */ |
| 81 | #define MV64560_DEV_ID 0x6450 |
| 82 | |
| 83 | /* Disco-6 */ |
| 84 | #define MV64660_DEV_ID 0x6460 |
| 85 | |
| 86 | /* Orion */ |
| 87 | #define MV_1181_DEV_ID 0x1181 |
| 88 | #define MV_5181_DEV_ID 0x5181 |
| 89 | #define MV_5281_DEV_ID 0x5281 |
| 90 | #define MV_5182_DEV_ID 0x5182 |
| 91 | #define MV_8660_DEV_ID 0x8660 |
| 92 | #define MV_5180_DEV_ID 0x5180 |
| 93 | #define MV_5082_DEV_ID 0x5082 |
| 94 | #define MV_1281_DEV_ID 0x1281 |
| 95 | #define MV_6082_DEV_ID 0x6082 |
| 96 | #define MV_6183_DEV_ID 0x6183 |
| 97 | #define MV_6183L_DEV_ID 0x6083 |
| 98 | |
| 99 | #define MV_5281_D0_REV 0x4 |
| 100 | #define MV_5281_D0_ID ((MV_5281_DEV_ID << 16) | MV_5281_D0_REV) |
| 101 | #define MV_5281_D0_NAME "88F5281 D0" |
| 102 | |
| 103 | #define MV_5281_D1_REV 0x5 |
| 104 | #define MV_5281_D1_ID ((MV_5281_DEV_ID << 16) | MV_5281_D1_REV) |
| 105 | #define MV_5281_D1_NAME "88F5281 D1" |
| 106 | |
| 107 | #define MV_5281_D2_REV 0x6 |
| 108 | #define MV_5281_D2_ID ((MV_5281_DEV_ID << 16) | MV_5281_D2_REV) |
| 109 | #define MV_5281_D2_NAME "88F5281 D2" |
| 110 | |
| 111 | |
| 112 | #define MV_5181L_A0_REV 0x8 /* need for PCIE Er */ |
| 113 | #define MV_5181_A1_REV 0x1 /* for USB Er ..*/ |
| 114 | #define MV_5181_B0_REV 0x2 |
| 115 | #define MV_5181_B1_REV 0x3 |
| 116 | #define MV_5182_A1_REV 0x1 |
| 117 | #define MV_5180N_B1_REV 0x3 |
| 118 | #define MV_5181L_A0_ID ((MV_5181_DEV_ID << 16) | MV_5181L_A0_REV) |
| 119 | |
| 120 | |
| 121 | |
| 122 | /* kw */ |
| 123 | #define MV_6281_DEV_ID 0x6281 |
| 124 | #define MV_6192_DEV_ID 0x6192 |
| 125 | #define MV_6190_DEV_ID 0x6190 |
| 126 | #define MV_6180_DEV_ID 0x6180 |
| 127 | |
| 128 | #define MV_6281_A0_REV 0x2 |
| 129 | #define MV_6281_A0_ID ((MV_6281_DEV_ID << 16) | MV_6281_A0_REV) |
| 130 | #define MV_6281_A0_NAME "88F6281 A0" |
| 131 | |
| 132 | #define MV_6192_A0_REV 0x2 |
| 133 | #define MV_6192_A0_ID ((MV_6192_DEV_ID << 16) | MV_6192_A0_REV) |
| 134 | #define MV_6192_A0_NAME "88F6192 A0" |
| 135 | |
| 136 | #define MV_6190_A0_REV 0x2 |
| 137 | #define MV_6190_A0_ID ((MV_6190_DEV_ID << 16) | MV_6190_A0_REV) |
| 138 | #define MV_6190_A0_NAME "88F6190 A0" |
| 139 | |
| 140 | #define MV_6180_A0_REV 0x2 |
| 141 | #define MV_6180_A0_ID ((MV_6180_DEV_ID << 16) | MV_6180_A0_REV) |
| 142 | #define MV_6180_A0_NAME "88F6180 A0" |
| 143 | |
| 144 | #define MV_6281_A1_REV 0x3 |
| 145 | #define MV_6281_A1_ID ((MV_6281_DEV_ID << 16) | MV_6281_A1_REV) |
| 146 | #define MV_6281_A1_NAME "88F6281 A1" |
| 147 | |
| 148 | #define MV_6192_A1_REV 0x3 |
| 149 | #define MV_6192_A1_ID ((MV_6192_DEV_ID << 16) | MV_6192_A1_REV) |
| 150 | #define MV_6192_A1_NAME "88F6192 A1" |
| 151 | |
| 152 | #define MV_6190_A1_REV 0x3 |
| 153 | #define MV_6190_A1_ID ((MV_6190_DEV_ID << 16) | MV_6190_A1_REV) |
| 154 | #define MV_6190_A1_NAME "88F6190 A1" |
| 155 | |
| 156 | #define MV_6180_A1_REV 0x3 |
| 157 | #define MV_6180_A1_ID ((MV_6180_DEV_ID << 16) | MV_6180_A1_REV) |
| 158 | #define MV_6180_A1_NAME "88F6180 A1" |
| 159 | |
| 160 | #define MV_88F6XXX_A0_REV 0x2 |
| 161 | #define MV_88F6XXX_A1_REV 0x3 |
| 162 | /* Disco-Duo */ |
| 163 | #define MV_78XX0_ZY_DEV_ID 0x6381 |
| 164 | #define MV_78XX0_ZY_NAME "MV78X00" |
| 165 | |
| 166 | #define MV_78XX0_Z0_REV 0x1 |
| 167 | #define MV_78XX0_Z0_ID ((MV_78XX0_ZY_DEV_ID << 16) | MV_78XX0_Z0_REV) |
| 168 | #define MV_78XX0_Z0_NAME "78X00 Z0" |
| 169 | |
| 170 | #define MV_78XX0_Y0_REV 0x2 |
| 171 | #define MV_78XX0_Y0_ID ((MV_78XX0_ZY_DEV_ID << 16) | MV_78XX0_Y0_REV) |
| 172 | #define MV_78XX0_Y0_NAME "78X00 Y0" |
| 173 | |
| 174 | #define MV_78XX0_DEV_ID 0x7800 |
| 175 | #define MV_78XX0_NAME "MV78X00" |
| 176 | |
| 177 | #define MV_76100_DEV_ID 0x7610 |
| 178 | #define MV_78200_DEV_ID 0x7820 |
| 179 | #define MV_78100_DEV_ID 0x7810 |
| 180 | #define MV_78XX0_A0_REV 0x1 |
| 181 | #define MV_78XX0_A1_REV 0x2 |
| 182 | |
| 183 | #define MV_76100_NAME "MV76100" |
| 184 | #define MV_78100_NAME "MV78100" |
| 185 | #define MV_78200_NAME "MV78200" |
| 186 | |
| 187 | #define MV_76100_A0_ID ((MV_76100_DEV_ID << 16) | MV_78XX0_A0_REV) |
| 188 | #define MV_78100_A0_ID ((MV_78100_DEV_ID << 16) | MV_78XX0_A0_REV) |
| 189 | #define MV_78200_A0_ID ((MV_78200_DEV_ID << 16) | MV_78XX0_A0_REV) |
| 190 | |
| 191 | #define MV_76100_A1_ID ((MV_76100_DEV_ID << 16) | MV_78XX0_A1_REV) |
| 192 | #define MV_78100_A1_ID ((MV_78100_DEV_ID << 16) | MV_78XX0_A1_REV) |
| 193 | #define MV_78200_A1_ID ((MV_78200_DEV_ID << 16) | MV_78XX0_A1_REV) |
| 194 | |
| 195 | #define MV_76100_A0_NAME "MV76100 A0" |
| 196 | #define MV_78100_A0_NAME "MV78100 A0" |
| 197 | #define MV_78200_A0_NAME "MV78200 A0" |
| 198 | #define MV_78XX0_A0_NAME "MV78XX0 A0" |
| 199 | |
| 200 | #define MV_76100_A1_NAME "MV76100 A1" |
| 201 | #define MV_78100_A1_NAME "MV78100 A1" |
| 202 | #define MV_78200_A1_NAME "MV78200 A1" |
| 203 | #define MV_78XX0_A1_NAME "MV78XX0 A1" |
| 204 | |
| 205 | /*MV88F632X family*/ |
| 206 | #define MV_6321_DEV_ID 0x6321 |
| 207 | #define MV_6322_DEV_ID 0x6322 |
| 208 | #define MV_6323_DEV_ID 0x6323 |
| 209 | |
| 210 | #define MV_6321_NAME "88F6321" |
| 211 | #define MV_6322_NAME "88F6322" |
| 212 | #define MV_6323_NAME "88F6323" |
| 213 | |
| 214 | #define MV_632X_A1_REV 0x2 |
| 215 | |
| 216 | #define MV_6321_A1_ID ((MV_6321_DEV_ID << 16) | MV_632X_A1_REV) |
| 217 | #define MV_6322_A1_ID ((MV_6322_DEV_ID << 16) | MV_632X_A1_REV) |
| 218 | #define MV_6323_A1_ID ((MV_6323_DEV_ID << 16) | MV_632X_A1_REV) |
| 219 | |
| 220 | #define MV_6321_A1_NAME "88F6321 A1" |
| 221 | #define MV_6322_A1_NAME "88F6322 A1" |
| 222 | #define MV_6323_A1_NAME "88F6323 A1" |
| 223 | |
| 224 | |
| 225 | #endif /* __INCmvDeviceIdh */ |
| 226 | |