Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * ItExtVpdPanel.h | |
3 | * Copyright (C) 2002 Dave Boutcher IBM Corporation | |
fcee3895 | 4 | * |
1da177e4 LT |
5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by | |
7 | * the Free Software Foundation; either version 2 of the License, or | |
8 | * (at your option) any later version. | |
fcee3895 | 9 | * |
1da177e4 LT |
10 | * This program is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
fcee3895 | 14 | * |
1da177e4 LT |
15 | * You should have received a copy of the GNU General Public License |
16 | * along with this program; if not, write to the Free Software | |
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | */ | |
ecb3ca27 KD |
19 | #ifndef _ASM_POWERPC_ISERIES_IT_EXT_VPD_PANEL_H |
20 | #define _ASM_POWERPC_ISERIES_IT_EXT_VPD_PANEL_H | |
1da177e4 LT |
21 | |
22 | /* | |
fcee3895 | 23 | * This struct maps the panel information |
1da177e4 LT |
24 | * |
25 | * Warning: | |
26 | * This data must match the architecture for the panel information | |
1da177e4 LT |
27 | */ |
28 | ||
1da177e4 LT |
29 | #include <asm/types.h> |
30 | ||
fcee3895 SR |
31 | struct ItExtVpdPanel { |
32 | /* Definition of the Extended Vpd On Panel Data Area */ | |
33 | char systemSerial[8]; | |
34 | char mfgID[4]; | |
35 | char reserved1[24]; | |
36 | char machineType[4]; | |
37 | char systemID[6]; | |
38 | char somUniqueCnt[4]; | |
39 | char serialNumberCount; | |
40 | char reserved2[7]; | |
41 | u16 bbu3; | |
42 | u16 bbu2; | |
43 | u16 bbu1; | |
44 | char xLocationLabel[8]; | |
45 | u8 xRsvd1[6]; | |
46 | u16 xFrameId; | |
47 | u8 xRsvd2[48]; | |
1da177e4 LT |
48 | }; |
49 | ||
0bc0ffd5 SR |
50 | extern struct ItExtVpdPanel xItExtVpdPanel; |
51 | ||
ecb3ca27 | 52 | #endif /* _ASM_POWERPC_ISERIES_IT_EXT_VPD_PANEL_H */ |