diff options
| author | Jason Beloro <Jason.Beloro@Sun.COM> | 2009-08-06 17:39:39 -0700 |
|---|---|---|
| committer | Jason Beloro <Jason.Beloro@Sun.COM> | 2009-08-06 17:39:39 -0700 |
| commit | 9d0d62ad2e60e8f742a2e723d06e88352ee6a1f3 (patch) | |
| tree | 016e2a6b2f674016c46785258d0ff85e6b1bce09 /usr/src/lib/libprtdiag | |
| parent | 32a6953793c636df949ca1ae3555438159bda3f6 (diff) | |
| download | illumos-joyent-9d0d62ad2e60e8f742a2e723d06e88352ee6a1f3.tar.gz | |
6858457 Remove Solaris support for UltraSPARC-AT10 processor
Diffstat (limited to 'usr/src/lib/libprtdiag')
| -rw-r--r-- | usr/src/lib/libprtdiag/common/display_sun4v.c | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/usr/src/lib/libprtdiag/common/display_sun4v.c b/usr/src/lib/libprtdiag/common/display_sun4v.c index 14c7651d16..1d9f3aa028 100644 --- a/usr/src/lib/libprtdiag/common/display_sun4v.c +++ b/usr/src/lib/libprtdiag/common/display_sun4v.c @@ -106,8 +106,6 @@ static void sun4v_env_print_current_sensors(); static void sun4v_env_print_current_indicators(); static void sun4v_env_print_voltage_sensors(); static void sun4v_env_print_voltage_indicators(); -static void sun4v_env_print_humidity_sensors(); -static void sun4v_env_print_humidity_indicators(); static void sun4v_env_print_LEDs(); static void sun4v_print_fru_status(); static int is_fru_absent(picl_nodehdl_t); @@ -1101,16 +1099,6 @@ sun4v_disp_env_status() class_node_found = 0; all_status_ok = 1; - sun4v_env_print_humidity_sensors(); - exit_code |= (!all_status_ok); - - class_node_found = 0; - all_status_ok = 1; - sun4v_env_print_humidity_indicators(); - exit_code |= (!all_status_ok); - - class_node_found = 0; - all_status_ok = 1; sun4v_env_print_LEDs(); exit_code |= (!all_status_ok); @@ -1737,68 +1725,6 @@ sun4v_env_print_voltage_indicators() } static void -sun4v_env_print_humidity_sensors() -{ - char *fmt = "%-34s %-14s %-10s\n"; - (void) picl_walk_tree_by_class(phyplatformh, - PICL_CLASS_HUMIDITY_SENSOR, - (void *)PICL_PROP_HUMIDITY, - sun4v_env_print_sensor_callback); - if (!class_node_found) - return; - log_printf("\nHumidity sensors:\n"); - if (syserrlog == 0) { - (void) picl_walk_tree_by_class(phyplatformh, - PICL_CLASS_HUMIDITY_SENSOR, - PICL_PROP_HUMIDITY, sun4v_env_print_sensor_callback); - if (all_status_ok) { - log_printf("All humidity sensors are OK.\n"); - return; - } - } - log_printf("-------------------------------------------------" - "-----------\n"); - log_printf(fmt, "Location", "Sensor", "Status", 0); - log_printf("-------------------------------------------------" - "-----------\n"); - (void) picl_walk_tree_by_class(phyplatformh, - PICL_CLASS_HUMIDITY_SENSOR, - (void *)PICL_PROP_HUMIDITY, - sun4v_env_print_sensor_callback); -} - -static void -sun4v_env_print_humidity_indicators() -{ - char *fmt = "%-34s %-14s %-8s\n"; - (void) picl_walk_tree_by_class(phyplatformh, - PICL_CLASS_HUMIDITY_INDICATOR, - (void *)PICL_PROP_CONDITION, - sun4v_env_print_indicator_callback); - if (!class_node_found) - return; - log_printf("\nHumidity indicators:\n"); - if (syserrlog == 0) { - (void) picl_walk_tree_by_class(phyplatformh, - PICL_CLASS_HUMIDITY_INDICATOR, (void *)PICL_PROP_CONDITION, - sun4v_env_print_indicator_callback); - if (all_status_ok) { - log_printf("All humidity indicators are OK.\n"); - return; - } - } - log_printf("-------------------------------------------------" - "-----------\n"); - log_printf(fmt, "Location", "Indicator", "Condition", 0); - log_printf("-------------------------------------------------" - "-----------\n"); - (void) picl_walk_tree_by_class(phyplatformh, - PICL_CLASS_HUMIDITY_INDICATOR, - (void *)PICL_PROP_CONDITION, - sun4v_env_print_indicator_callback); -} - -static void sun4v_env_print_LEDs() { char *fmt = "%-34s %-14s %-8s\n"; |
