MD_UNCONFIGURED
if (md->md_type == MD_UNCONFIGURED || md->md_addr == 0)
md->md_type = MD_UNCONFIGURED; /* Paranoia... */
if (md->md_type != MD_UNCONFIGURED)
sc->sc_type = MD_UNCONFIGURED;
if (sc->sc_type != MD_UNCONFIGURED)
if (sc->sc_dkdev.dk_openmask == 0 && sc->sc_type == MD_UNCONFIGURED)
if (sc->sc_type == MD_UNCONFIGURED)
configured = (sc->sc_type != MD_UNCONFIGURED);
if (!configured && sc->sc_type != MD_UNCONFIGURED)
if (sc->sc_type == MD_UNCONFIGURED) {
if (sc == NULL || sc->sc_type == MD_UNCONFIGURED)
if (sc == NULL || sc->sc_type == MD_UNCONFIGURED)
if (sc == NULL || sc->sc_type == MD_UNCONFIGURED) {
if (sc->sc_type != MD_UNCONFIGURED) {
if (sc->sc_type != MD_UNCONFIGURED)
if (sc->sc_type != MD_UNCONFIGURED) {
sc->sc_type = MD_UNCONFIGURED;