summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-23 08:04:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-23 08:04:28 +0000
commit598f0299859450faf01a8a887f435d64e2722bc1 (patch)
tree01e97eb2ed865b10856acb47f40011f94656c28a /sys/dev/ic
parentdc28cebecdc25997c831cbf8fbcd8e7e54e5de82 (diff)
more slight dmesg formatting for some a really stupid drive
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/wdc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index d44e0106dab..f1be6a3edd4 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.5 1999/07/22 22:42:47 deraadt Exp $ */
+/* $OpenBSD: wdc.c,v 1.6 1999/07/23 08:04:27 deraadt Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
@@ -862,8 +862,11 @@ wdc_probe_caps(drvp)
for (i = 7; i >= 0; i--) {
if ((params.atap_piomode_supp & (1 << i)) == 0)
continue;
- if (i > 4)
+ if (i > 4) {
+ printf("\n");
return;
+ }
+
/*
* See if mode is accepted.
* If the controller can't set its PIO mode,
@@ -895,6 +898,7 @@ wdc_probe_caps(drvp)
* We didn't find a valid PIO mode.
* Assume the values returned for DMA are buggy too
*/
+ printf("\n");
return;
}
drvp->drive_flags |= DRIVE_MODE;