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