1 |
106 |
markom |
/******************************************************************************
|
2 |
|
|
* Copyright 1991 Advanced Micro Devices, Inc.
|
3 |
|
|
*
|
4 |
|
|
* This software is the property of Advanced Micro Devices, Inc (AMD) which
|
5 |
|
|
* specifically grants the user the right to modify, use and distribute this
|
6 |
|
|
* software provided this notice is not removed or altered. All other rights
|
7 |
|
|
* are reserved by AMD.
|
8 |
|
|
*
|
9 |
|
|
* AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
|
10 |
|
|
* SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
|
11 |
|
|
* DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
|
12 |
|
|
* USE OF THIS SOFTWARE.
|
13 |
|
|
*
|
14 |
|
|
* Comments about this software should be directed to udi@amd.com. If access
|
15 |
|
|
* to electronic mail isn't available, send mail to:
|
16 |
|
|
*
|
17 |
|
|
* Advanced Micro Devices, Inc.
|
18 |
|
|
* 29K Support Products
|
19 |
|
|
* Mail Stop 573
|
20 |
|
|
* 5900 E. Ben White Blvd.
|
21 |
|
|
* Austin, TX 78741
|
22 |
|
|
*****************************************************************************
|
23 |
|
|
* $Id: @(#)udiids.h 3.2, AMD
|
24 |
|
|
*/
|
25 |
|
|
|
26 |
|
|
/* This file contains the DFE and TIP IDs to be used by AMD products for */
|
27 |
|
|
/* the UDICapabilities call */
|
28 |
|
|
|
29 |
|
|
/* Company Codes -- AMD assigns these */
|
30 |
|
|
#define UDICompanyCode_AMD 1
|
31 |
|
|
#define UDICompanyCode_Honeywell 2
|
32 |
|
|
#define UDICompanyCode_EPI 3
|
33 |
|
|
|
34 |
|
|
/* Build a UDIID given a CompanyProdCode and 3 version pieces */
|
35 |
|
|
#define UDIID(CompanyProdCode, v1,v2,v3) ((((CompanyProdCode) & 0xfffff)<<12)+\
|
36 |
|
|
(((v1)&0xf)<<8) + (((v2)&0xf)<<4) + ((v3)&0xf))
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
/* Extract a CompanyProdCode or a Version from a UDIID */
|
40 |
|
|
#define UDIID_CompanyProdCode(id) (((id)>>12) & 0xfffff)
|
41 |
|
|
#define UDIID_Version(id) ((id)&0xfff)
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
#define UDIAMDProduct(ProdCode) ((UDICompanyCode_AMD<<4) + (ProdCode&0xf))
|
45 |
|
|
|
46 |
|
|
/* AMD DFE Product Codes */
|
47 |
|
|
#define UDIProductCode_Mondfe UDIAMDProduct(0)
|
48 |
|
|
#define UDIProductCode_XRAY UDIAMDProduct(1)
|
49 |
|
|
#define UDIProductCode_TIPTester UDIAMDProduct(2)
|
50 |
|
|
|
51 |
|
|
/* AMD TIP Product Codes (need not be distinct from DFE Product Codes) */
|
52 |
|
|
#define UDIProductCode_Montip UDIAMDProduct(0)
|
53 |
|
|
#define UDIProductCode_Isstip UDIAMDProduct(1)
|
54 |
|
|
#define UDIProductCode_MON29Ktip UDIAMDProduct(2)
|
55 |
|
|
|
56 |
|
|
#ifdef UDI13
|
57 |
|
|
#define UDILatestVersion 0x130 /* UDI 1.3.0, can be used in DFE and TIP desired UDI params */
|
58 |
|
|
#else
|
59 |
|
|
#define UDILatestVersion 0x120 /* UDI 1.2.0, can be used in DFE and TIP desired UDI params */
|
60 |
|
|
#endif /* UDI13 */
|