Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci pdc202xx_setup_channel: remove a duplicate line.



details:   https://anonhg.NetBSD.org/src/rev/580766a838c8
branches:  trunk
changeset: 519243:580766a838c8
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Dec 13 20:57:22 2001 +0000

description:
pdc202xx_setup_channel: remove a duplicate line.

diffstat:

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

diffs (26 lines):

diff -r a6d6749629c7 -r 580766a838c8 sys/dev/pci/pciide.c
--- a/sys/dev/pci/pciide.c      Thu Dec 13 20:53:47 2001 +0000
+++ b/sys/dev/pci/pciide.c      Thu Dec 13 20:57:22 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide.c,v 1.136 2001/11/21 17:33:28 wiz Exp $ */
+/*     $NetBSD: pciide.c,v 1.137 2001/12/13 20:57:22 bouyer Exp $      */
 
 
 /*
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.136 2001/11/21 17:33:28 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide.c,v 1.137 2001/12/13 20:57:22 bouyer Exp $");
 
 #ifndef WDCDEBUG
 #define WDCDEBUG
@@ -3602,7 +3602,6 @@
                            pdc2xx_udma_mb[drvp->UDMA_mode]);
                        mode = PDC2xx_TIM_SET_MC(mode,
                            pdc2xx_udma_mc[drvp->UDMA_mode]);
-                       drvp->drive_flags &= ~DRIVE_DMA;
                        idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive);
                } else if (drvp->drive_flags & DRIVE_DMA) {
                        mode = PDC2xx_TIM_SET_MB(mode,



Home | Main Index | Thread Index | Old Index