2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2002 Dave Boutcher IBM Corporation
|
2005-06-22 08:15:34 +08:00
|
|
|
*
|
2005-04-17 06:20:36 +08:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
2005-06-22 08:15:34 +08:00
|
|
|
*
|
2005-04-17 06:20:36 +08:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2005-06-22 08:15:34 +08:00
|
|
|
*
|
2005-04-17 06:20:36 +08:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
2006-07-13 15:52:09 +08:00
|
|
|
#ifndef _PLATFORMS_ISERIES_IT_EXT_VPD_PANEL_H
|
|
|
|
#define _PLATFORMS_ISERIES_IT_EXT_VPD_PANEL_H
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/*
|
2005-06-22 08:15:34 +08:00
|
|
|
* This struct maps the panel information
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
|
|
|
* Warning:
|
|
|
|
* This data must match the architecture for the panel information
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <asm/types.h>
|
|
|
|
|
2005-06-22 08:15:34 +08:00
|
|
|
struct ItExtVpdPanel {
|
|
|
|
/* Definition of the Extended Vpd On Panel Data Area */
|
|
|
|
char systemSerial[8];
|
|
|
|
char mfgID[4];
|
|
|
|
char reserved1[24];
|
|
|
|
char machineType[4];
|
|
|
|
char systemID[6];
|
|
|
|
char somUniqueCnt[4];
|
|
|
|
char serialNumberCount;
|
|
|
|
char reserved2[7];
|
|
|
|
u16 bbu3;
|
|
|
|
u16 bbu2;
|
|
|
|
u16 bbu1;
|
|
|
|
char xLocationLabel[8];
|
|
|
|
u8 xRsvd1[6];
|
|
|
|
u16 xFrameId;
|
|
|
|
u8 xRsvd2[48];
|
2005-04-17 06:20:36 +08:00
|
|
|
};
|
|
|
|
|
2005-06-22 08:15:36 +08:00
|
|
|
extern struct ItExtVpdPanel xItExtVpdPanel;
|
|
|
|
|
2006-07-13 15:52:09 +08:00
|
|
|
#endif /* _PLATFORMS_ISERIES_IT_EXT_VPD_PANEL_H */
|