diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2001-10-04 18:02:26 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2001-10-04 18:02:26 +0000 |
| commit | c36c574aaa368fddf780f103f5ebc04791c8c1ee (patch) | |
| tree | 6332150659483a7de6b327f75250080e89e13266 /sys/dev/ata/ata-raid.c | |
| parent | 6f2a7cbb4bd954c83df8e7468e8a3e48f29f3332 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata/ata-raid.c')
| -rw-r--r-- | sys/dev/ata/ata-raid.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index 1a851b662a13..7b9cfc37200a 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -462,9 +462,11 @@ ar_promise_conf(struct ad_softc *adp, struct ar_softc **raidp) } /* now convert Promise config info into our generic form */ - if ((info->raid.flags != PR_F_CONFED) || + if ((info->raid.flags != PR_F_READY) || (((info->raid.status & (PR_S_DEFINED|PR_S_ONLINE)) != (PR_S_DEFINED|PR_S_ONLINE)))) { + if (bootverbose) + printf("Promise check3 failed\n"); goto promise_out; } @@ -472,8 +474,11 @@ ar_promise_conf(struct ad_softc *adp, struct ar_softc **raidp) array = info->raid.array_number; if (raidp[array]) { - if (magic != raidp[array]->magic_0) + if (magic != raidp[array]->magic_0) { + if (bootverbose) + printf("Promise check4 failed\n"); goto promise_out; + } } else { if (!(raidp[array] = (struct ar_softc *) |
