ItExtVpdPanel.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. * This struct maps the panel information
  23. *
  24. * Warning:
  25. * This data must match the architecture for the panel information
  26. */
  27. #include <asm/types.h>
  28. struct ItExtVpdPanel {
  29. /* Definition of the Extended Vpd On Panel Data Area */
  30. char systemSerial[8];
  31. char mfgID[4];
  32. char reserved1[24];
  33. char machineType[4];
  34. char systemID[6];
  35. char somUniqueCnt[4];
  36. char serialNumberCount;
  37. char reserved2[7];
  38. u16 bbu3;
  39. u16 bbu2;
  40. u16 bbu1;
  41. char xLocationLabel[8];
  42. u8 xRsvd1[6];
  43. u16 xFrameId;
  44. u8 xRsvd2[48];
  45. };
  46. extern struct ItExtVpdPanel xItExtVpdPanel;
  47. #endif /* _ITEXTVPDPANEL_H */