summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-23 08:34:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-23 08:34:16 +0000
commit9c822bddba0129c65dc27afa710792426c1a18e6 (patch)
tree3124a64b8c85181bef0085ead7dbb4a704770d27
parent598f0299859450faf01a8a887f435d64e2722bc1 (diff)
doesn't end does it...
-rw-r--r--sys/dev/ic/wdc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index f1be6a3edd4..66d18d9f75b 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.6 1999/07/23 08:04:27 deraadt Exp $ */
+/* $OpenBSD: wdc.c,v 1.7 1999/07/23 08:34:15 deraadt Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
@@ -825,10 +825,10 @@ wdc_probe_caps(drvp)
if (memcmp(&params, &params2, sizeof(struct ataparams)) != 0) {
/* Not good. fall back to 16bits */
drvp->drive_flags &= ~DRIVE_CAP32;
- } else {
- printf("32-bit", drv_dev->dv_xname);
- sep = ", ";
- }
+ printf("16-bit");
+ } else
+ printf("32-bit");
+ sep = ", ";
}
#if 0 /* Some ultra-DMA drives claims to only support ATA-3. sigh */
if (params.atap_ata_major > 0x01 &&
@@ -1037,7 +1037,7 @@ wdc_downgrade_mode(drvp)
return 0;
wdc->set_modes(chp);
- /* reset the channel, which will shedule all drives for setup */
+ /* reset the channel, which will schedule all drives for setup */
wdc_reset_channel(drvp);
return 1;
}