diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-10-09 07:14:01 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-10-09 07:14:01 +0000 |
commit | e70b0978a1916290314bb883ddf3fbb8e431016a (patch) | |
tree | 7c9ddf6d06899eef1c95da84a64d0adf42466768 /sys | |
parent | 6eb9c3379a77019df4804ec2a94c4f44a23ff436 (diff) |
Fix printout at attach time. Print PIO/DMA mode information after having
printed line with the name of hard disk.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/wd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index e79a0997065..c54237399d4 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.8 1999/10/09 03:42:03 csapuntz Exp $ */ +/* $OpenBSD: wd.c,v 1.9 1999/10/09 07:14:00 csapuntz Exp $ */ /* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */ /* @@ -297,9 +297,6 @@ wdattach(parent, self, aux) return; } - wdc_probe_caps(wd->drvp, &wd->sc_params); - wdc_print_caps(wd->drvp); - for (blank = 0, p = wd->sc_params.atap_model, q = buf, i = 0; i < sizeof(wd->sc_params.atap_model); i++) { c = *p++; @@ -318,6 +315,9 @@ wdattach(parent, self, aux) printf(": <%s>\n", buf); + wdc_probe_caps(wd->drvp, &wd->sc_params); + wdc_print_caps(wd->drvp); + if ((wd->sc_params.atap_multi & 0xff) > 1) { wd->sc_multi = wd->sc_params.atap_multi & 0xff; } else { |