//****************************************************************************
//                   INTEL CORPORATION PROPRIETARY INFORMATION
//       This software is supplied under the terms of a license agreement or
//       nondisclosure agreement with Intel Corporation and may not be copied
//       or disclosed except in accordance with the terms of that agreement.
//         Copyright (c) 2010 Intel Corporation. All Rights Reserved.
//****************************************************************************
//
//  TITLE: Master.CFG             DATE CREATED:  10/24/2012
//****************************************************************************
//  Revision History:
//
//****************************************************************************

CONFIGURATION   "Revision S2400EP_102"
DISPLAY         "FRU & SDR Update Package for Intel(R) Server Board S2400EP"
DISPLAY         "Copyright (c) 2011 Intel Corporation"
DISPLAY         "S2400EP platform FRU & SDR package version 1.02"
DISPLAY         ""

// Detect Product ID***********************************************************
PROBE           "BASEBOARD_PRODID" "51"
FOUND           "S2400EP"  ""

IFSET "S2400EP"
    DISPLAY "Intel(R) Server Board S2400EP platform detected"
ELSE
    DISPLAY ""
    DISPLAY "This is either the incorrect FRU/SDR package for this baseboard"
    DISPLAY "or your platform ID is incorrectly programmed."
    ERRORLEVEL 01
ENDIF


//If it's for factory use, please un-comment FACTORY_MODE tag
//SET "FACTORY_MODE"

IFSET "FACTORY_MODE"
    SET "SDR"
ELSE
//Set auto-detection tag, now comment it before auto-detection implemented
    SET "AUTO_DETECTION"

    //Set user selection
		MENUTITLE   "Select the function you desire to perform"
    MENU        "SDR"   "Update only the SDR repository"
    MENU        "FRU"   "Update only the FRU repository"
    MENU        "BOTH"  "Update both the FRU and the SDR repository"
    MENU        "ASSET" "Modify the Product Asset Tag"
    MENU        "EXIT1" "Exit update"
    MENUPROMPT
    DISPLAY " "  
ENDIF//For FACTORY_MODE

IFSET "EXIT1"
 		DISPLAY "Exit without making any changes"
ELSE
   // Set both FRU and SDR   
   IFSET "BOTH"
       SET "SDR"
       SET "FRU"
   ENDIF
    
   IFSET "ASSET"
       FRUNAME     "SYSTEM"
       FRUADDRESS  "IMBDEVICE" FF 20
       FRUAREA     "PRODUCT"
       FRUFIELD    "AT" "@STDIN:ASCII"
   ENDIF 
    			//check SKUS
         //Set auto-detection
         
   IFSET "FRU"
    // ******************************
    //   Update Base Board FRU areas
    // ******************************
            
    IFSET "S2400EP"
        DISPLAY     ""
        DISPLAY     "Updating FRU areas"

        //Update Baseboard FRU data
        FRUNAME     "S2400EP.fru"
        FRUAREA     "HEADER"
        FRUAREA     "INTERNALUSE"
        FRUAREA     "CHASSIS"
        FRUFIELD    "CT"
                
        PROMPT      "Do you want to update the chassis info area of the FRU?"
        YES         "UPD_CHS"
        NO          ""
                
    IFSET "UPD_CHS"      
        PROMPT      "Do you want to enter the chassis serial number?"
        YES         "CHASSN"
        NO          ""
        DISPLAY     ""
        IFSET       "CHASSN"
            FRUFIELD    "S#" "@STDIN:ASCII"
        ENDIF
                
        PROMPT      "Do you want to enter the chassis part number?"
        YES         "CHASPN"
        NO          ""
        DISPLAY     " "
        IFSET       "CHASPN"
            FRUFIELD    "P#" "@STDIN:ASCII"
        ENDIF
    ENDIF // UPD_CHS
   
   	PROMPT      "Do you want to enter the chassis manufacturer name (Additional Field 1)?"
    YES         "CHASMN"
    NO          ""
    DISPLAY     ""
    IFSET       "CHASMN"
        FRUFIELD     "AM1" "@STDIN:ASCII"
    ENDIF  
                
    FRUAREA     "BOARD"
    FRUFIELD    "MN"
    FRUFIELD    "PN"
    FRUFIELD    "ID"
    DISPLAY     ""
                
    FRUAREA     "PRODUCT"
    PROMPT      "Do you want to update the system info area of the FRU?"
    YES         "UPD_PRD"
    NO          ""
    IFSET       "UPD_PRD"
        FRUFIELD    "MN"
        FRUFIELD    "PN"
        FRUFIELD    "PV"
        PROMPT     "Do you want to enter system part number?"
        YES        "PROD_PN"
        NO         ""
        IFSET      "PROD_PN"
            FRUFIELD    "P#" "@STDIN:ASCII"
        ENDIF
                
        PROMPT     "Do you want to enter the system serial number?"
        YES        "PROD_SN"
        NO         ""
        IFSET      "PROD_SN"
            FRUFIELD    "S#" "@STDIN:ASCII"
        ENDIF 
        
        PROMPT      "Do you want to enter the product asset tag?"
        YES         "ASSET"
        NO          ""
        DISPLAY     ""
        IFSET   "ASSET"
            FRUFIELD    "AT" "@STDIN:ASCII"
        ENDIF
     ENDIF //FOR UPD_PRD            
     ENDIF // FOR S2400EP          
ENDIF // FOR FRU

   IFSET "SDR"
       IFSET "AUTO_DETECTION"
           
           //Probe for sensors and FRU device
           DISPLAY ""
           DISPLAY "Probing system for sensors and FRU device hardware..."
           DISPLAY ""
             
           // Check Front Panel FRU
           PROBE   "PING" "03" "AE"
           FOUND   "SKUS"   "OTHER"
            
           IFSET "SKUS"
               SET "FP_TEMP"
            
               IFSET "FP_TEMP"
                   DISPLAY "Front Panel detected"
               ENDIF //FP_TEMP
              
               // Detect PSU
               // Detect PS1
               PROBE "PING"    "0F"    "B0"
               FOUND "PS1" "NO_PS1"
               // Detect FRU 
               IFSET "PS1"
               SET "FOUND_PS_DEV"
               PROBE "IMBDEVICE" "02"
                   FOUND "PS1_FRU" "PS1_NO_FRU"
                   IFSET "PS1_FRU"
                       FRUNAME "SYSTEM"
                       FRUADDRESS 02
                       FRUAREA "PRODUCT" VALIDATE PS1_FRU_IPMI
                       IFSET PS1_FRU_IPMI
                           FRUAREA "PRODUCT"
                           PROBE FRUFIELD "PN" "DPS-450KB A"
                           FOUND "450_PS1" ""
                            
                           PROBE FRUFIELD "PN" "S11-600P1A"
                           FOUND "600_PS1" ""
                        
                           IFSET "450_PS1"
                               DISPLAY "450W Power Supply 1 detected"
                               SET "FOUND_PS"
                           ENDIF 
                        
                           IFSET "600_PS1"
                               DISPLAY "600W Power Supply 1 detected"
                               SET "FOUND_PS"
                           ENDIF  
                        
                       ENDIF// PS1_FRU_IPMI
                   ENDIF// PS1_FRU
               ENDIF //PS1

            // Detect PS2
						PROBE "PING"    "0F"    "B2"
            FOUND "PS2" "NO_PS2"
            //Detect FRU 
            IFSET "PS2"
            SET "FOUND_PS_DEV"
            PROBE "IMBDEVICE" "03"
                FOUND "PS2_FRU" "PS2_NO_FRU"

								IFSET "PS2_FRU"
								    FRUNAME "SYSTEM"
										FRUADDRESS 03
                    FRUAREA "PRODUCT" VALIDATE PS2_FRU_IPMI
                    IFSET PS2_FRU_IPMI
                        FRUAREA "PRODUCT"
                        PROBE FRUFIELD "PN" "DPS-450KB A"
                        FOUND "450_PS2"

                        IFSET "450_PS2"
                            DISPLAY "450W Power Supply 2 detected"
                            SET "FOUND_PS"
                        ENDIF 
                       
                    ENDIF // PS2_FRU_IPMI
                ENDIF //PS2_FRU
            ENDIF // PS2
            
           IFSET "FOUND_PS"
             DISPLAY ""
           ELSE
             IFSET "FOUND_PS_DEV"
               MENUTITLE   "Select the Power Supply:"
               MENU        "PS450"      "450W Power Supply"
               MENU        "PS600"      "600W Power Supply"
               MENUPROMPT
               DISPLAY     ""
               IFSET "PS450"
                   IFSET "PS1"
                       SET "450_PS1"
                   ENDIF 
                   IFSET "PS2"
                       SET "450_PS2"
                   ENDIF 
               ENDIF //PS450
               
               IFSET "PS600"
                   IFSET "PS1"
                       SET "600_PS1"
                   ENDIF 
               ENDIF //PS600
           
             ELSE
               DISPLAY "No Redundancy Power Supply Unit detected"
             ENDIF
           ENDIF// FOUND_PS   
            
            PROBE "PING"    "0D"    "94"
            FOUND "IOM" ""
            
            PROBE "PING"    "0D"    "A4"
            FOUND "IOM_FRU" ""
            IFSET "IOM_FRU"
               SET "IOM"
            ENDIF
            
            IFSET "IOM"
               DISPLAY "Found IO Module" 
            ENDIF   
            
            PROBE "PING"    "0D"    "98"
            FOUND "SAS" ""
            
            PROBE "PING"    "0D"    "A8"
            FOUND "SAS_FRU" ""
            IFSET "SAS_FRU"
               SET "SAS"
            ENDIF
            
            IFSET "SAS"
               DISPLAY "Found SAS Module" 
            ENDIF   
            
            // Detect FAN
            PROBE "FAN_SIGNAL" 00 
            FOUND "FAN_P1A" ""
            PROBE "FAN_SIGNAL" 01 
            FOUND "FAN_P1B" ""
            PROBE "FAN_SIGNAL" 02 
            FOUND "FAN_P2A" ""
            PROBE "FAN_SIGNAL" 03            
            FOUND "FAN_P2B" ""
            PROBE "FAN_SIGNAL" 04 
            FOUND "FAN_P3A" ""
            PROBE "FAN_SIGNAL" 05 
            FOUND "FAN_P3B" ""
            PROBE "FAN_SIGNAL" 06
            FOUND "FAN_P4A" ""
            PROBE "FAN_SIGNAL" 07
            FOUND "FAN_P4B" ""
            PROBE "FAN_SIGNAL" 08
            FOUND "FAN_P5A" ""
            PROBE "FAN_SIGNAL" 09
            FOUND "FAN_P5B" ""
            
            // Detect FAN
            PROBE "FAN_SIGNAL" 00 
            FOUND "FAN_P1A" ""
            PROBE "FAN_SIGNAL" 01 
            FOUND "FAN_P1B" ""
            PROBE "FAN_SIGNAL" 02 
            FOUND "FAN_P2A" ""
            PROBE "FAN_SIGNAL" 03            
            FOUND "FAN_P2B" ""
            PROBE "FAN_SIGNAL" 04 
            FOUND "FAN_P3A" ""
            PROBE "FAN_SIGNAL" 05 
            FOUND "FAN_P3B" ""
            PROBE "FAN_SIGNAL" 06
            FOUND "FAN_P4A" ""
            PROBE "FAN_SIGNAL" 07
            FOUND "FAN_P4B" ""
            PROBE "FAN_SIGNAL" 08
            FOUND "FAN_P5A" ""
            PROBE "FAN_SIGNAL" 09
            FOUND "FAN_P5B" ""
            
            IFSET "FAN_P1A"
                DISPLAY "Fan1A detected" 
            ENDIF
            IFSET "FAN_P1B"
                DISPLAY "Fan1B detected" 
            ENDIF
            IFSET "FAN_P2A"
                DISPLAY "Fan2A detected" 
            ENDIF
            IFSET "FAN_P2B"
                DISPLAY "Fan2B detected" 
            ENDIF
            IFSET "FAN_P3A"
                DISPLAY "Fan3A detected" 
            ENDIF
            IFSET "FAN_P3B"
                DISPLAY "Fan3B detected" 
            ENDIF
            IFSET "FAN_P4A"
                DISPLAY "Fan4A detected" 
            ENDIF
            IFSET "FAN_P4B"
                DISPLAY "Fan4B detected" 
            ENDIF
            IFSET "FAN_P5A"
                DISPLAY "Fan5A detected" 
            ENDIF
            IFSET "FAN_P5B"
                DISPLAY "Fan5B detected" 
            ENDIF
 
            IFSET "FAN_P1B" "FAN_P2B" "FAN_P3B" "FAN_P4B" "FAN_P5B"
            		SET "BFP21_NR"
            ELSE
            		IFSET "FAN_P1A" "FAN_P1B" "FAN_P3A" "FAN_P3B" "FAN_P5A" "FAN_P5B"
            				SET "BFP15_NR"
            		ELSE    
            			  DISPLAY ""
            				DISPLAY "Fan configuration is invalid,falling back to user selection as auto-detection is not available." 
            				SET "USER_SELECT"    
            		ENDIF //FAN_BFP15_NR       				
            ENDIF //FAN_BFP21_NR
         ENDIF //FOR SKUS
   ENDIF //FOR AUTO_DETECTION
            
   IFSET "USER_SELECT"
       DISPLAY			" "
       MENUTITLE   "Select the Chassis"
       MENU        "BFP21_NR"     "Buffalo Peak 21'' Non-redundant fan SKU"
       MENU        "BFP15_NR"     "Buffalo Peak 15'' Non-redundant fan SKU"
       MENU        "OTHER"        "Other Chassis"
       MENU        "EXIT2"        "Exit update"
       MENUPROMPT
       DISPLAY		" "
   ENDIF//FOR USER_SELECT
       
   IFSET "FACTORY_MODE"
       DISPLAY     ""
       MENUTITLE   "Select the Chassis:"
       MENU        "SHIP"      "Only Shipping use"
       MENU        "FCT"       "Only for FCT use"
       MENU        "FCT2"      "FOQM"
       MENUPROMPT
       DISPLAY     ""
   ENDIF//FOR FACTORY_MODE
         
   IFSET "EXIT2"
        DISPLAY "Exit without making any changes"
   ELSE
       IFSET "OTHER"
       DISPLAY ""
       MENUTITLE   "Select the fan speed for the chassis"
       MENU    "OTHER_SL"     "Slow Ramp"
       MENU    "OTHER_ME"     "Medium Ramp"
       MENU    "OTHER_FA"     "Fast Ramp"
       MENU    "OTHER_FU"     "Full Speed Fans"
       MENUPROMPT
       DISPLAY ""
       ENDIF //"OTHER"
                                 
   IFSET "BFP21_NR"     
       DISPLAY ""
       DISPLAY "Buffalo Peak 21'' Non-redundant fan SKU detected"
       
       SET "CHASSIS_NO_INTRU"
                     
       PROBE "PROCESSOR" "1"  
       FOUND "PROC_1" ""
            
       IFSET "PROC_1"
           DISPLAY "Processor 1 detected"
       ENDIF // FOR PROC_1
            
       PROBE "PROCESSOR" "2"  
       FOUND "PROC_2" ""
            
       IFSET "PROC_2"
           DISPLAY "Processor 2 detected"
       ENDIF // FOR PROC_2
        
       IFSET "450_PS1" "450_PS2"
           SET "PS_REDUNDANCY"
       ENDIF 
       
       IFSET "PS1"
       		SET "EXIT_AIR"
       ENDIF
       IFSET "PS2"
       		SET "EXIT_AIR"
       ENDIF
       		
       //Detect HSBP
       //Detect HSBP1
       PROBE "PING"    "0B"    "D0"
       FOUND "HSBP_PSOC1" ""
       IFSET "HSBP_PSOC1"
         DISPLAY "Found HSBP PSOC 1"
         SET "FOUND_HSBP"
         PROBE "IMBDEVICE" "05"
         FOUND "HSBP_CK1" ""
         IFSET "HSBP_CK1"
           FRUNAME "SYSTEM"
           FRUADDRESS 05
           FRUAREA "BOARD" VALIDATE HSBP_CK11
           IFSET HSBP_CK11
             FRUAREA "BOARD"
             PROBE FRUFIELD "PN" "FXX1304HSBP"
             FOUND "HSBP_1_BP4" ""
                        
             IFSET "HSBP_1_BP4"
                DISPLAY "FXX1304HSBP detected"
                SET "FOUND_BP"
                        
             ELSE
                PROBE FRUFIELD "PN" "F1U8X25HSBP"
                FOUND "HSBP_1_BP8" ""
             ENDIF // HSBP_1_BP4      
                  
            IFSET "HSBP_1_BP8"
                 DISPLAY "F1U8X25HSBP detected"
                 SET "FOUND_BP"
            ENDIF //HSBP_1_BP8
            
          ENDIF //HSBP_CK11
        ENDIF// HSBP_CK1 
      ENDIF 
        
   ENDIF//END BFP21_NR
           
   IFSET "BFP15_NR"
       DISPLAY ""
       DISPLAY "Buffalo Peak 15'' Non-redundant fan SKU detected"
            
       SET "CHASSIS_NO_INTRU"
           
       PROBE "PROCESSOR" "1"  
       FOUND "PROC_1" ""
            
       IFSET "PROC_1"
           DISPLAY "Processor 1 detected"
       ENDIF // FOR PROC_1
            
       PROBE "PROCESSOR" "2"  
       FOUND "PROC_2" ""
            
       IFSET "PROC_2"
           DISPLAY "Processor 2 detected"
       ENDIF // FOR PROC_2
       
       IFSET "PS1"
       		SET "EXIT_AIR"
       ENDIF
       IFSET "PS2"
       		SET "EXIT_AIR"
       ENDIF
                     
       IFSET "450_PS1" "450_PS2"
           SET "PS_REDUNDANCY"
       ENDIF 
       
   ENDIF//END BFP15_NR
    
   IFSET "OTHER"
   
       CLEAR "450_PS1"
       CLEAR "450_PS2"
       CLEAR "600_PS1"
       CLEAR "PS_REDUNDANCY"
       CLEAR "FP_TEMP"
       DISPLAY ""
       PROMPT "Is CPU1 Fan installed?"
       YES "OTHER_PROC1_FAN"
       NO ""
       
       DISPLAY ""
       PROMPT "Is CPU2 Fan installed?"
       YES "OTHER_PROC2_FAN"
       NO ""
       
       PROMPT "Is System Fan 1A installed?"
       YES "OTHER_FAN_1A"
       NO ""
       
       DISPLAY ""
       PROMPT "Is System Fan 1B installed?"
       YES "OTHER_FAN_1B"
       NO ""
                
       DISPLAY ""
       PROMPT "Is System Fan 2A installed?"
       YES "OTHER_FAN_2A"
       NO ""
       
       DISPLAY ""
       PROMPT "Is System Fan 2B installed?"
       YES "OTHER_FAN_2B"
       NO ""
                
       DISPLAY ""
       PROMPT "Is System Fan 3A installed?"
       YES "OTHER_FAN_3A"
       NO ""
       
       DISPLAY ""
       PROMPT "Is System Fan 3B installed?"
       YES "OTHER_FAN_3B"
       NO ""
                
       DISPLAY ""
       PROMPT "Is System Fan 4A installed?"
       YES "OTHER_FAN_4A"
       NO ""
       
       DISPLAY ""
       PROMPT "Is System Fan 4B installed?"
       YES "OTHER_FAN_4B"
       NO ""
                
       DISPLAY ""
       PROMPT "Is System Fan 5A installed?"
       YES "OTHER_FAN_5A"
       NO ""
       
       DISPLAY ""
       PROMPT "Is System Fan 5B installed?"
       YES "OTHER_FAN_5B"
       NO ""
                
       PROBE "PROCESSOR" 1  
       FOUND "PROC_1" ""
       
       IFSET "PROC_1"
           DISPLAY "Processor 1 detected"
       ENDIF // FOR PROC_1
            
       PROBE "PROCESSOR" 2
       FOUND "PROC_2" "" 

       IFSET "PROC_2"
           DISPLAY "Processor 2 detected"
       ENDIF // FOR PROC_2
                    
       //Chassis
       DISPLAY ""
       PROMPT "Does the system have chassis intrusion?"
       YES "CHASSIS_INTRU"
       NO "CHASSIS_NO_INTRU"
       
       //Detect HSBP
       //Detect HSBP1
       PROBE "PING"    "0B"    "D0"
       FOUND "HSBP_PSOC1" ""
       IFSET "HSBP_PSOC1"
         DISPLAY "Found HSBP PSOC 1"
         SET "FOUND_HSBP"
         PROBE "IMBDEVICE" "05"
         FOUND "HSBP_CK1" ""
         IFSET "HSBP_CK1"
           FRUNAME "SYSTEM"
           FRUADDRESS 05
           FRUAREA "BOARD" VALIDATE HSBP_CK11
           IFSET HSBP_CK11
             FRUAREA "BOARD"
             PROBE FRUFIELD "PN" "FXX1304HSBP"
             FOUND "HSBP_1_BP4" ""
                        
             IFSET "HSBP_1_BP4"
                DISPLAY "FXX1304HSBP detected"
                SET "FOUND_BP"
                        
             ELSE
                PROBE FRUFIELD "PN" "F1U8X25HSBP"
                FOUND "HSBP_1_BP8" ""
             ENDIF // HSBP_1_BP4      
                  
            IFSET "HSBP_1_BP8"
                 DISPLAY "F1U8X25HSBP detected"
                 SET "FOUND_BP"
            ENDIF //HSBP_1_BP8
            
          ENDIF //HSBP_CK11
        ENDIF// HSBP_CK1 
      ENDIF 
      
       //Detect HSBP
       //Detect HSBP2
       PROBE "PING"    "0B"    "D2"
       FOUND "HSBP_PSOC2" ""
       IFSET "HSBP_PSOC2"
         DISPLAY "Found HSBP PSOC 2"
         SET "FOUND_HSBP"
         PROBE "IMBDEVICE" "06"
         FOUND "HSBP_CK2" ""
         IFSET "HSBP_CK2"
           FRUNAME "SYSTEM"
           FRUADDRESS 06
           FRUAREA "BOARD" VALIDATE HSBP_CK21
           IFSET HSBP_CK12
             FRUAREA "BOARD"
             PROBE FRUFIELD "PN" "FXX1304HSBP"
             FOUND "HSBP_2_BP4" ""
                        
             IFSET "HSBP_2_BP4"
                DISPLAY "FXX1304HSBP detected"
                SET "FOUND_BP"
                        
             ELSE
                PROBE FRUFIELD "PN" "F1U8X25HSBP"
                FOUND "HSBP_2_BP8" ""
             ENDIF // HSBP_2_BP4      
                  
            IFSET "HSBP_2_BP8"
                 DISPLAY "F1U8X25HSBP detected"
                 SET "FOUND_BP"
            ENDIF //HSBP_2_BP8
            
          ENDIF //HSBP_CK21
        ENDIF// HSBP_CK2 
      ENDIF 

       //Detect HSBP
       //Detect HSBP3
       PROBE "PING"    "0B"    "D4"
       FOUND "HSBP_PSOC3" ""
       IFSET "HSBP_PSOC3"
         DISPLAY "Found HSBP PSOC 3"
         SET "FOUND_HSBP"
         PROBE "IMBDEVICE" "07"
         FOUND "HSBP_CK3" ""
         IFSET "HSBP_CK3"
           FRUNAME "SYSTEM"
           FRUADDRESS 07
           FRUAREA "BOARD" VALIDATE HSBP_CK31
           IFSET HSBP_CK13
             FRUAREA "BOARD"
             PROBE FRUFIELD "PN" "FXX1304HSBP"
             FOUND "HSBP_3_BP4" ""
                        
             IFSET "HSBP_3_BP4"
                DISPLAY "FXX1304HSBP detected"
                SET "FOUND_BP"
                        
             ELSE
                PROBE FRUFIELD "PN" "F1U8X25HSBP"
                FOUND "HSBP_3_BP8" ""
             ENDIF // HSBP_3_BP4      
                  
            IFSET "HSBP_3_BP8"
                 DISPLAY "F1U8X25HSBP detected"
                 SET "FOUND_BP"
            ENDIF //HSBP_3_BP8
            
          ENDIF //HSBP_CK31
        ENDIF// HSBP_CK3 
      ENDIF                    
       
	 ENDIF//FOR OTHER
	 
	 IFSET "FOUND_HSBP"
	   IFSET "FOUND_BP"
       DISPLAY ""
     ELSE
       MENUTITLE   "Select the HSBP:"
       MENU        "BP_4_HDD"   "4*3.5 HSBP"
       MENU        "BP_8_HDD"   "8*2.5 HSBP"
       MENUPROMPT
           
       IFSET "BP_4_HDD"
           IFSET "HSBP_PSOC1"
               SET "HSBP_1_BP4"
           ENDIF //HSBP_PSOC1
           IFSET "HSBP_PSOC2"
               SET "HSBP_2_BP4"
           ENDIF //HSBP_PSOC2
           IFSET "HSBP_PSOC3"
               SET "HSBP_3_BP4"
           ENDIF //HSBP_PSOC3
       ENDIF //BP_4_HDD

       IFSET "BP_8_HDD"
           IFSET "HSBP_PSOC1"
               SET "HSBP_1_BP8"
           ENDIF //HSBP_PSOC1
           IFSET "HSBP_PSOC2"
               SET "HSBP_2_BP8"
           ENDIF //HSBP_PSOC2
           IFSET "HSBP_PSOC3"
               SET "HSBP_3_BP8"
           ENDIF //HSBP_PSOC3
       ENDIF //BP_8_HDD
       
     ENDIF //FOUND_BP
   ELSE
   	 DISPLAY "No Hot swap back plane detected"  
   ENDIF //FOUND_HSBP  
       
			 
	 //Shipping ---------------------------------------------------------------------------------
   IFSET "SHIP"
       PROBE "PROCESSOR" 2
       FOUND "PROC_2" "" 
       
       CLEAR "450_PS1"
       CLEAR "450_PS2"
       CLEAR "600_PS1"
       CLEAR "PS_REDUNDANCY"
       
       CLEAR "IOM"
       CLEAR "SAS"
   ENDIF //IFSET "SHIP"

   //FCT --------------------------------------------------------------------------------------
   IFSET "FCT"
       SET "CHASSIS_INTRU" 
                
       //Check Power Supply Module 1 & 2
       // 
                
       //Processor
       SET "PROC_1"
       SET "PROC_2"
       SET "450_PS1"
       
       CLEAR "450_PS2"
       CLEAR "600_PS1"
       
   ENDIF //IFSET "FCT"
   
   IFSET "FCT2"

       SET "450_PS1"
       SET "CHASSIS_INTRU"
       SET "IOM"
       SET "SAS"
       
       CLEAR "PROC_2"
       CLEAR "450_PS2"
       CLEAR "600_PS1"
       
       CLEAR "IOM"
       CLEAR "SAS"
   ENDIF
 
 	 SDRNAME "S2400EP.SDR"        // Update SDR Repository
   BMC_REFRESH        
ENDIF // END SDR 
   ENDIF //END EXIT2
          
ENDIF // END EXIT1 
 		
