Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * ItExtVpdPanel.h |
| 3 | * Copyright (C) 2002 Dave Boutcher IBM Corporation |
Stephen Rothwell | fcee389 | 2005-06-21 17:15:34 -0700 | [diff] [blame^] | 4 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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. |
Stephen Rothwell | fcee389 | 2005-06-21 17:15:34 -0700 | [diff] [blame^] | 9 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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. |
Stephen Rothwell | fcee389 | 2005-06-21 17:15:34 -0700 | [diff] [blame^] | 14 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | /* |
Stephen Rothwell | fcee389 | 2005-06-21 17:15:34 -0700 | [diff] [blame^] | 23 | * This struct maps the panel information |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | * |
| 25 | * Warning: |
| 26 | * This data must match the architecture for the panel information |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | */ |
| 28 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | #include <asm/types.h> |
| 30 | |
Stephen Rothwell | fcee389 | 2005-06-21 17:15:34 -0700 | [diff] [blame^] | 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]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | }; |
| 49 | |
Stephen Rothwell | fcee389 | 2005-06-21 17:15:34 -0700 | [diff] [blame^] | 50 | #endif /* _ITEXTVPDPANEL_H */ |