2750 pao.unit = fru_ptr->fru_unit;
2751 #ifdef PS_ON_DELAY
2752 /*
2753 * HW recommended not implementing
2754 * this delay for now.
2755 * The code is tested on PSUs:
2756 * -06
2757 * -07 rev 2
2758 * -08 plus
2759 */
2760 if (int_fru_ptr) {
2761 /*
2762 * Hot insertion, so give it
2763 * the 3 seconds it needs to
2764 * become stable
2765 */
2766 if (!scsb->scsb_btid)
2767 scsb->scsb_btid =
2768 timeout(
2769 scsb_ps_auto_on,
2770 &pao, (4 *
2771 drv_usectohz(
2772 1000000)));
2773 } else
2774 #endif /* PS_ON_DELAY */
2775 scsb_ps_auto_on((void *)&pao);
2776 }
2777 /*
2778 * Special SLOT handling.
2779 * Make sure the OK LED is on for the CPU Slot
2780 * and for the FTC (CFTM) Slot for MonteCarlo.
2781 * Both will report as FRU_PRESENT.
2782 */
2783 if (fru_type != SLOT || (fru_type == SLOT &&
2784 (fru_ptr->fru_type ==
2785 (scsb_utype_t)OC_CPU ||
2786 fru_ptr->fru_type ==
2787 (scsb_utype_t)OC_CTC))) {
2788 /*
2789 * Set OK (green) LED register bit
2790 */
2791 led_data[led_idx] |= 1 << led_bit;
2792 }
|
2750 pao.unit = fru_ptr->fru_unit;
2751 #ifdef PS_ON_DELAY
2752 /*
2753 * HW recommended not implementing
2754 * this delay for now.
2755 * The code is tested on PSUs:
2756 * -06
2757 * -07 rev 2
2758 * -08 plus
2759 */
2760 if (int_fru_ptr) {
2761 /*
2762 * Hot insertion, so give it
2763 * the 3 seconds it needs to
2764 * become stable
2765 */
2766 if (!scsb->scsb_btid)
2767 scsb->scsb_btid =
2768 timeout(
2769 scsb_ps_auto_on,
2770 &pao, drv_sectohz(4));
2771 } else
2772 #endif /* PS_ON_DELAY */
2773 scsb_ps_auto_on((void *)&pao);
2774 }
2775 /*
2776 * Special SLOT handling.
2777 * Make sure the OK LED is on for the CPU Slot
2778 * and for the FTC (CFTM) Slot for MonteCarlo.
2779 * Both will report as FRU_PRESENT.
2780 */
2781 if (fru_type != SLOT || (fru_type == SLOT &&
2782 (fru_ptr->fru_type ==
2783 (scsb_utype_t)OC_CPU ||
2784 fru_ptr->fru_type ==
2785 (scsb_utype_t)OC_CTC))) {
2786 /*
2787 * Set OK (green) LED register bit
2788 */
2789 led_data[led_idx] |= 1 << led_bit;
2790 }
|