diff options
author | stephh <none@none> | 2008-08-02 03:26:27 -0700 |
---|---|---|
committer | stephh <none@none> | 2008-08-02 03:26:27 -0700 |
commit | 25c6ff4b77fcddf4097ce78a8277275ca603b46c (patch) | |
tree | 418fc0cf406815a0bf23f782b349ac0653121a77 /usr/src/lib/libdevinfo/devinfo.c | |
parent | 5d2225f6bb395dbd38b87e1f0af3ce4afbca42f3 (diff) | |
download | illumos-gate-25c6ff4b77fcddf4097ce78a8277275ca603b46c.tar.gz |
PSARC/2008/487 Repair Observability changes
6534561 need means of finding existing fault state of a resource
6637804 fmd should distinguish between "repaired" and "acquitted" resources
6637812 fmd_nvl_fmri_has_fault() required to report if a given fault has been diagnosed on a resourtce/fru
6663744 send list.updated events when an individual suspect in a suspect list is repaired
6682295 need fmd_nvl_fmri_replaced() functionality
6686317 extend fmd case state to include final "repair responses complete" state
6712074 need scheme/topo interface to report full service state of a resource
6720169 add location member to the sun-fm-mib
Diffstat (limited to 'usr/src/lib/libdevinfo/devinfo.c')
-rw-r--r-- | usr/src/lib/libdevinfo/devinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/lib/libdevinfo/devinfo.c b/usr/src/lib/libdevinfo/devinfo.c index 582aad2156..db6a62cab1 100644 --- a/usr/src/lib/libdevinfo/devinfo.c +++ b/usr/src/lib/libdevinfo/devinfo.c @@ -978,6 +978,8 @@ di_state(di_node_t node) result |= DI_DEVICE_OFFLINE; if (DI_NODE(node)->state & DEVI_DEVICE_DOWN) result |= DI_DEVICE_OFFLINE; + if (DI_NODE(node)->state & DEVI_DEVICE_DEGRADED) + result |= DI_DEVICE_DEGRADED; if (DI_NODE(node)->state & DEVI_BUS_QUIESCED) result |= DI_BUS_QUIESCED; if (DI_NODE(node)->state & DEVI_BUS_DOWN) |