Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Correct 80 pin handling for promise Ultra/66: wh...
details: https://anonhg.NetBSD.org/src/rev/e7022ecee7f0
branches: trunk
changeset: 493862:e7022ecee7f0
user: bouyer <bouyer%NetBSD.org@localhost>
date: Mon Jun 26 09:55:26 2000 +0000
description:
Correct 80 pin handling for promise Ultra/66: when the bit is set
we *don't* have a Ultra/66 cable.
diffstat:
sys/dev/pci/pciide.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 91ee606ebae7 -r e7022ecee7f0 sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c Mon Jun 26 09:50:00 2000 +0000
+++ b/sys/dev/pci/pciide.c Mon Jun 26 09:55:26 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciide.c,v 1.68 2000/06/12 21:25:01 bouyer Exp $ */
+/* $NetBSD: pciide.c,v 1.69 2000/06/26 09:55:26 bouyer Exp $ */
/*
@@ -3040,7 +3040,7 @@
PDC262_U66);
st = pci_conf_read(sc->sc_pc, sc->sc_tag, PDC2xx_STATE);
/* Trimm UDMA mode */
- if ((st & PDC262_STATE_80P(channel)) == 0 ||
+ if ((st & PDC262_STATE_80P(channel)) != 0 ||
(chp->ch_drive[0].drive_flags & DRIVE_UDMA &&
chp->ch_drive[0].UDMA_mode <= 2) ||
(chp->ch_drive[1].drive_flags & DRIVE_UDMA &&
Home |
Main Index |
Thread Index |
Old Index