summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2000-04-10 07:06:18 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2000-04-10 07:06:18 +0000
commite3aaffb5c351fad2a905355ac8b0703721d089f4 (patch)
tree216624a980f5dd72047f1268a7b668f042ebd4ef /sys/dev/pci/pciide.c
parentfd15ab77cff7d1685f86a25686c91e518b748a35 (diff)
Added support for wd detach (merge from NetBSD). Support for
SCSI/ATAPI detach is not here yet. Minor cleanup of wdc. Downgrade to UDMA mode 1 before going further. Want to stay in UDMA modes because they're more error-resilient due to a CRC. Got rid of some of the ridiculous amount of softc sharing going on. Hopefully, this will make the life of whoever goes in and fixes the ref-counting to be correct easier.
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 55b07125c97..e62efc2287b 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.21 2000/03/24 17:47:41 chris Exp $ */
+/* $OpenBSD: pciide.c,v 1.22 2000/04/10 07:06:17 csapuntz Exp $ */
/* $NetBSD: pciide.c,v 1.48 1999/11/28 20:05:18 bouyer Exp $ */
/*
@@ -1114,7 +1114,7 @@ pciide_print_modes(cp)
if ((drvp->drive_flags & DRIVE) == 0)
continue;
printf("%s(%s:%d:%d): using PIO mode %d",
- drvp->drv_softc->dv_xname,
+ drvp->drive_name,
sc->sc_wdcdev.sc_dev.dv_xname,
chp->channel, drive, drvp->PIO_mode);
if (drvp->drive_flags & DRIVE_DMA)