Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v2.6.13 52 lines 1.4 kB view raw
1/* 2 * ItExtVpdPanel.h 3 * Copyright (C) 2002 Dave Boutcher IBM Corporation 4 * 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. 9 * 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. 14 * 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 */ 19#ifndef _ITEXTVPDPANEL_H 20#define _ITEXTVPDPANEL_H 21 22/* 23 * This struct maps the panel information 24 * 25 * Warning: 26 * This data must match the architecture for the panel information 27 */ 28 29#include <asm/types.h> 30 31struct 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]; 48}; 49 50extern struct ItExtVpdPanel xItExtVpdPanel; 51 52#endif /* _ITEXTVPDPANEL_H */