• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  ******************************************************************************/
15 #ifndef __HAL_VERSION_DEF_H__
16 #define __HAL_VERSION_DEF_H__
17 
18 enum HAL_CHIP_TYPE {
19 	TEST_CHIP	=	0,
20 	NORMAL_CHIP	=	1,
21 	FPGA		=	2,
22 };
23 
24 enum HAL_CUT_VERSION {
25 	A_CUT_VERSION	=	0,
26 	B_CUT_VERSION	=	1,
27 	C_CUT_VERSION	=	2,
28 	D_CUT_VERSION	=	3,
29 	E_CUT_VERSION	=	4,
30 	F_CUT_VERSION	=	5,
31 	G_CUT_VERSION	=	6,
32 };
33 
34 enum HAL_VENDOR {
35 	CHIP_VENDOR_TSMC	=	0,
36 	CHIP_VENDOR_UMC		=	1,
37 };
38 
39 struct HAL_VERSION {
40 	enum HAL_CHIP_TYPE	ChipType;
41 	enum HAL_CUT_VERSION	CUTVersion;
42 	enum HAL_VENDOR		VendorType;
43 };
44 
45 #endif
46