OBSMPort.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /****************************************************************
  2. ** **
  3. ** (C)Copyright 2007-2008, American Megatrends Inc. **
  4. ** **
  5. ** All Rights Reserved. **
  6. ** **
  7. ** 5555, Oakbrook Parkway, Suite 200, Norcross, **
  8. ** **
  9. ** Georgia - 30093, USA. Phone-(770)-246-8600. **
  10. ** **
  11. ****************************************************************/
  12. /****************************************************************
  13. * @file OBSMPort.h
  14. * @author Velu <velmuruganv@amiindia.co.in>
  15. * @brief
  16. ****************************************************************/
  17. #ifndef OBSMPORT_H
  18. #define OBSMPORT_H
  19. /*** Definitions and Macros ***/
  20. #define MAX_CHASSIS_MNGR_SUPPORTED 1
  21. #define MAX_SLOT_NUM_SUPPORTED 32
  22. #define MAX_SLOT_ID_SUPPORTED 32
  23. #define MAX_BLADE_SUPPORTED 10
  24. #define MAX_SWITCH_SUPPORTED 4
  25. #define MAX_COOLING_CTLR_SUPPORTED 1
  26. #define MAX_COOLING_DOMAIN_SUPPORTED 1
  27. #define MAX_FAN_SUPPORTED_PER_DOMAIN 12
  28. #define MAX_COOLING_ZONE_SUPPORTED_PER_DOMAIN 4
  29. #define MAX_PWR_DOMAIN_SUPPORTED 1
  30. #define MAX_PWR_SUPPLY_SUPPORTED_PER_DOMAIN 4
  31. #define MAX_CHAN_NUM_SUPPORTED 4
  32. /* Slot Numbers (syc with Open blade slot map record) */
  33. #define CHASSIS_MNGR_SLOT_NUM 1
  34. #define SWITCH_SLOT_NUM 2
  35. #define PWR_CTLR_SLOT_NUM 3
  36. #define COOLING_CTLR_SLOT_NUM 4
  37. #define BLADE1_SLOT_NUM 5
  38. #define BLADE2_SLOT_NUM 6
  39. #define BLADE3_SLOT_NUM 7
  40. #define BLADE4_SLOT_NUM 8
  41. #define BLADE5_SLOT_NUM 9
  42. #define BLADE6_SLOT_NUM 10
  43. #define BLADE7_SLOT_NUM 11
  44. #define BLADE8_SLOT_NUM 12
  45. #define BLADE9_SLOT_NUM 13
  46. #define BLADE10_SLOT_NUM 14
  47. #define PS1_SLOT_NUM 15
  48. #define PS2_SLOT_NUM 16
  49. #define FAN1_SLOT_NUM 17
  50. #define FAN2_SLOT_NUM 18
  51. #define FAN3_SLOT_NUM 19
  52. #define FAN4_SLOT_NUM 20
  53. #define FAN5_SLOT_NUM 21
  54. #define FAN6_SLOT_NUM 22
  55. #define FAN7_SLOT_NUM 23
  56. #define FAN8_SLOT_NUM 24
  57. #define FAN9_SLOT_NUM 25
  58. #define FAN10_SLOT_NUM 26
  59. #define FAN11_SLOT_NUM 27
  60. #define FAN12_SLOT_NUM 28
  61. #define IPMB_BLADE_BASE_ADDR 0x30
  62. #define DEFAULT_PS_MAX_PWR_OUTPUT 1000 /* in watts */
  63. #define DEFAULT_FAN_MAX_PWR_INPUT 10 /* in watts */
  64. #endif