Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/pci Pull up 1.69, approved by thorpej:



details:   https://anonhg.NetBSD.org/src/rev/965323bebbf5
branches:  netbsd-1-5
changeset: 488281:965323bebbf5
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Jun 27 14:07:41 2000 +0000

description:
Pull up 1.69, approved by thorpej:
Fix promise Ultra/66 cable detection: the Ultra/66 cable detection bit
was interpreted backward.

diffstat:

 sys/dev/pci/pciide.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 502875d7eff6 -r 965323bebbf5 sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c      Tue Jun 27 08:35:46 2000 +0000
+++ b/sys/dev/pci/pciide.c      Tue Jun 27 14:07:41 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.68.2.1 2000/06/27 14:07:41 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